Platforms/Facebook/Profile photos

Facebook Photos API

GET · 1 credit

Send a profile's or Page's handle or link, and get its photos, newest first, 8 a page: each photo's id, page and image.

GET /v1/facebook/profiles/photos

What people use it for

  • Visual monitoring: keep a brand's or venue's latest photos in view without opening Facebook.
  • Galleries: show a Page's newest photos on your own site or in your app.
  • Image analysis: run new photos through your own tagging, logo detection or moderation.

How it works with other endpoints

Start from a handle or link, the same one Profile takes. For the posts around the photos, with their text and counts, use Profile posts.

Limits

  • 8 photos a page, newest first.
  • Each photo has its id, page and image only: no caption or counts.
  • A profile only logged-in users can see answers 403 LOGIN_REQUIRED; one that doesn't exist answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/facebook/profiles/photos?handle=uniladmag`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
handleNoA profile's or Page's handle: the part of its link after facebook.com/ (uniladmag), or its id. Give handle or url.
urlNoA profile's or Page's link: facebook.com/<handle>, /profile.php?id=<id> or /people/<name>/<id>. Give handle or url.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "1209876543210987",
      "url": "https://www.facebook.com/photo/?fbid=1209876543210987",
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/photo-1.jpg"
    },
    {
      "id": "1209876543210123",
      "url": "https://www.facebook.com/photo/?fbid=1209876543210123",
      "image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/photo-2.jpg"
    }
  ],
  "page": {
    "next_cursor": "eyJhZnRlciI6IkFRSGFYIn0",
    "has_more": true
  },
  "meta": {
    "platform": "facebook",
    "endpoint": "profile_photos",
    "params": {
      "handle": "uniladmag"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-29T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

What does each photo include?

Its id, the link to its page on Facebook and the link to the image. For a photo's caption and counts, read the post it belongs to.

How many photos can I get?

8 a page, newest first. Send page.next_cursor as the cursor parameter for the next page.

Does it work on personal profiles?

Yes, for the photos a profile shows a logged-out visitor. A profile only logged-in users can see answers 403 LOGIN_REQUIRED.

Works with

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required