Introducing the Instagram APIRead more →

Facebook Profile Photos API. Full-size photos, page by page.

Full-size photos, uploaded or tagged. We handle the proxies, blocks and platform changes.

Facebook Profile Photos API at a glance

Returns the photos on a public Facebook Page's or person's Photos tab, newest first, a page at a time: its own uploads or the photos it's tagged in. Each photo has its ID and link, its full-size image with width, height and link expiry, the square crop the grid shows, and Facebook's description of what it pictures. Send a name, ID or link, and an optional time window Facebook applies itself.

GET /v1/facebook/photos

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 22 typed fields null when unknown
  • 8 full-size photos per page, newest first, as the Photos tab shows them
  • handle is all it needs, e.g. NASA

Send one request. Get up to 8 full-size photos back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = NASA
GET /v1/facebook/photosTry in
const params = new URLSearchParams({
  handle: "NASA",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/photos?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/photosLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The Facebook profile (a Page's or a person's): its vanity name (NASA, case-insensitive), its numeric profile ID, or any link to it: facebook.com/<name> with any tab after it, profile.php?id=…, /people/<name>/<id>, /p/<name>-<id>.

  • Write one parser

    Facebook, TikTok, Instagram and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the Facebook Profile Photos API.

  • Collect a brand's images from Facebook

  • Watch a Page for new photos

  • Download a business's product and menu photos

  • Find photos a public figure is tagged in

Good to know before you build.

  • The grid shows nothing else of a photo, so its caption, date and counts are null here. The Facebook Post API returns them for the photo's link.
  • Image links are signed by Facebook and stop working at media[].expires_at.
  • Albums aren't listed.
  • A link to a profile's photos_of tab reads as the profile: send tab=tagged for those photos.
  • A profile Facebook shows nothing of logged out (not public, deactivated, age-restricted like an alcohol brand's Page, or an unknown name) returns private_or_unavailable, because Facebook answers them all the same way.
  • The author's name, picture and badge are filled for a Page asked for by name. For a person, or a profile asked for by ID, the author has its ID, vanity name and link.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Profile Photos API.

More in the API reference.

How much does the Facebook Profile Photos API cost?
A page of up to 8 full-size photos costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 1 hour.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs