Social Fetch
Facebook

List Facebook profile photos

Get photos from a Facebook profile or page.

GET/v1/facebook/profiles/photos
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
2
url*stringquery

Public Facebook profile or page URL whose photos should be listed.

min 1 chars · max 4096 chars

cursorstringoptionalquery

Opaque pagination cursor from a previous response (`data.page.nextCursor`).

min 1 chars · max 4096 chars

Response fields
19

Endpoint-specific response payload.

datalookupStatus
string

Whether the requested profile or page resolved for this request.

one of: found, not_found

Photos returned for the requested profile or page. This array may be empty on the last page.

dataphotos[]id
string

Stable photo item identifier from Facebook.

min 1 chars

dataphotos[]photoId
string

Facebook photo id when available.

min 1 chars

dataphotos[]url
string

Public Facebook URL for this photo.

min 1 chars

dataphotos[]accessibilityCaption
stringnullable

Accessibility or alt-style caption text when Facebook provides one.

dataphotos[]imageUrl
stringnullable

Primary image URL when available.

dataphotos[]thumbnailUrl
stringnullable

Thumbnail image URL when available.

Image dimensions when available.

dataphotos[]dimensionswidth
integer

Image width in pixels when available.

≥ 0

dataphotos[]dimensionsheight
integer

Image height in pixels when available.

≥ 0

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass as `cursor` in the next request when `hasMore` is true; otherwise null.

datapagehasMore
boolean

Whether another page of photos can be requested.

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/facebook/profiles/photos?url=https://www.facebook.com/profile.php?id=61575098504636" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Facebook photos for the requested profile or page. Check `data.lookupStatus` for `found` vs `not_found`.

On this page

No Headings