Flickr Gallery Comments API
Every comment on one gallery, with the author, time and a permalink.
GET /v1/flickr/galleries/{galleryId}/comments1 credit Failed requests are free
About this endpoint
GET /v1/flickr/galleries/{galleryId}/comments returns data.galleryId and a page of data.comments. Each comment carries id, author (with avatar), createdAt, permalink, text and textHtml.
Use limit and page.nextCursor to page through the comments. A gallery with no comments returns lookupStatus: found with an empty list; an invalid or unknown gallery id returns not_found.
Flickr Gallery Comments API FAQ
Are these comments on the gallery or on its photos?
On the gallery itself. Photo comments are read with GET /v1/flickr/photos/{photoId}/comments.
Is the comment text HTML?
Both forms are returned: text has the markup removed and entities decoded, and textHtml is the comment as HTML.
How much does a comments page cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.
What does not_found mean for a gallery?
The gallery id does not resolve to a public gallery. An existing gallery with no comments is found with an empty list.
Other Flickr endpoints
- PhotoGET /v1/flickr/photos/{photoId}
- CommentsGET /v1/flickr/photos/{photoId}/comments
- EXIFGET /v1/flickr/photos/{photoId}/exif
- Favourited byGET /v1/flickr/photos/{photoId}/favorites
- ContextsGET /v1/flickr/photos/{photoId}/contexts
- UserGET /v1/flickr/users/{userId}
- PhotostreamGET /v1/flickr/users/{userId}/photos
- AlbumsGET /v1/flickr/users/{userId}/albums