Flickr

List Flickr photo comments

List Flickr photo comments.

GET/v1/flickr/photos/{photoId}/comments
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
4
photoIdstringrequiredpath

Photo id, e.g. `2362225867`.

pattern: ^[0-9]{1,20}$

cursorstringoptionalquery

Cursor from `page.nextCursor` of the previous response. It only works with the same filters. Send it without `page`; it keeps the page size it was issued with, so `limit` may be sent again and has no effect.

min 1 chars · max 2048 chars

pageintegeroptionalquery

Page number, 1-based. Default: 1. A page past the last returns an empty list with `hasMore: false`. Prefer `cursor` when continuing.

≥ 1 · ≤ 1000000

limitintegeroptionalquery

Rows per page, 1 to 100. Default: 100.

≥ 1 · ≤ 100

Response fields
33

Endpoint-specific response payload.

datalookupStatus
string

`found` when the entity exists; `not_found` when it does not exist or was deleted; `hidden` when the owner hides the data (EXIF); `private` when the group or pool is member-only; `restricted` when the group is age-restricted.

one of: found, not_found, hidden, private, restricted

dataphotoId
string

Photo the comments belong to.

Comments on this page.

datacomments[]id
string

Comment id.

The person who wrote a topic or reply.

datacomments[]authorid
stringnullable

Author NSID.

datacomments[]authoralias
stringnullable

Author path alias.

datacomments[]authorname
stringnullable

Author display name.

datacomments[]authorrealName
stringnullable

Author real name.

datacomments[]authorisPro
booleannullable

Whether the author is Pro.

datacomments[]authorisDeleted
booleannullable

Whether the author's account is deleted.

datacomments[]authorrole
stringnullable

Role in the group, e.g. `member`.

The person's avatar at three sizes.

datacomments[]authoravatarsmall
stringnullable

Square avatar URL, 100 pixels.

datacomments[]authoravatarmedium
stringnullable

Avatar URL, 240 pixels.

datacomments[]authoravatarlarge
stringnullable

Avatar URL, 500 pixels.

datacomments[]createdAt
stringnullable

When it was written, ISO 8601 UTC.

datacomments[]permalink
stringnullable

Link to the comment.

datacomments[]text
stringnullable

Comment text.

datacomments[]textHtml
stringnullable

Comment text as HTML.

Pagination state for the current page.

datapagepage
integer

Current page number.

≥ 0

datapagehasMore
boolean

Whether another page is available.

datapagenextPage
integernullable

Next page number; null on the last page.

≥ 0

datapagenextCursor
stringnullable

Cursor for the next page; null on the last page.

datapagetotalItems
integernullable

Total rows in the whole list; null when no usable total is available, including a page past the end and a photo search with a taken time bound. It can change between calls.

datapagereachableItems
integernullable

Rows this endpoint can reach. Smaller than `totalItems` where this endpoint stops early. Null when `totalItems` is null.

datapagelimit
integer

Rows requested for this page.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/flickr/photos/2362225867/comments" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Flickr comments.