Facebook Photos Scraper avatar

Facebook Photos Scraper

Pricing

from $1.00 / 1,000 photo results

Go to Apify Store
Facebook Photos Scraper

Facebook Photos Scraper

Scrape public photos from Facebook Pages, profiles and albums: full-size image URLs, alt text, captions, dates, reactions, comments and shares. No login or cookies. $1 per 1,000 photos, details $1 per 1,000 more.

Pricing

from $1.00 / 1,000 photo results

Rating

0.0

(0)

Developer

Delowar Munna

Delowar Munna

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

4

Monthly active users

18 days ago

Last modified

Categories

Features

Limited permissions

Share

Facebook Photos Scraper — Pages, Albums & Profiles, No Login

Facebook Photos Scraper — public photos from Facebook Pages, profiles and albums, with captions and engagement

Get every public photo from a Facebook Page, profile or album as clean rows. Each row has the full-size image URL with its width and height, Facebook's alt text, and the owner. Turn on details to add each photo's date, caption, hashtags, mentions and exact reaction, comment and share counts. Export to JSON, CSV or Excel.

  • 🖼️ Full-size image URLs with width and height, plus Facebook's alt text (and a thumbnail on photos-tab rows)
  • 📅 Optional details: date, caption, hashtags, mentions, and exact reactions (by type), comments and shares, not "5.2K"
  • 📚 Pages, public profiles, albums and single photos, mixed in one run
  • 🗂️ Albums: read one album, or the first N albums of a Page, with the album name on every row
  • ⏱️ Date filter: only photos newer than a date or "7 days"
  • 🔓 No Facebook login, cookies or account, and no browser, so runs are fast
  • 💸 Pay only for photos delivered. Details are a separate, optional charge, so image-only runs cost less

What can I scrape?

Start URLWhat you get
A Page or profile: facebook.com/NASA, facebook.com/NASA/photosIts photos, newest first
A profile by ID: facebook.com/profile.php?id=100044561550831Its photos, newest first
An albums tab: facebook.com/NASA/photos_albumsThe first "Maximum albums" albums, and their photos
An album: facebook.com/media/set/?set=a.416661013162614That album's photos, with the album name
A photo: facebook.com/photo/?fbid=1667357648092938That one photo

Locale and mobile hosts (en-gb.facebook.com, m.facebook.com) work too. Group, event, reel and video URLs get a free error row that names the right Actor for them.


Quick start

Run it with the defaults: you get 10 photos from NASA's Page, with details, in under a minute.

{
"startUrls": [{ "url": "https://www.facebook.com/NASA/photos" }],
"resultsLimit": 10,
"includeDetails": true
}

More examples

An album's photos, images only (faster and cheaper):

{
"startUrls": [{ "url": "https://www.facebook.com/media/set/?set=a.416661013162614&type=3" }],
"resultsLimit": 50,
"includeDetails": false
}

The last 30 days of photos from three brand Pages, with engagement:

{
"startUrls": [
{ "url": "https://www.facebook.com/NASA" },
{ "url": "https://www.facebook.com/natgeo" },
{ "url": "https://www.facebook.com/LEGO" }
],
"resultsLimit": 100,
"photosNewerThan": "30 days"
}

The first 3 albums of a Page, 20 photos each:

{
"startUrls": [{ "url": "https://www.facebook.com/NASA/photos_albums" }],
"maxAlbums": 3,
"resultsLimit": 20
}

A Page and one of its albums, with details. This is the input behind the screenshot and sample records under Output; the group URL shows what an error row looks like:

{
"startUrls": [
{ "url": "https://www.facebook.com/NASA/photos" },
{ "url": "https://www.facebook.com/media/set/?set=a.416660999829282&type=3" },
{ "url": "https://www.facebook.com/groups/apifyusers" }
],
"resultsLimit": 10,
"includeDetails": true
}

One photo:

{ "startUrls": [{ "url": "https://www.facebook.com/photo/?fbid=1667357648092938" }] }

Input

FieldDefaultWhat it does
startUrlsNASA's photosPages, profiles, albums tabs, albums or photo URLs (full facebook.com/… URLs).
resultsLimit10The most photos per start URL (per album for an albums tab), up to 5,000.
includeDetailsonOpen each photo for its date, caption, hashtags, mentions and engagement. Charged per photo.
photosNewerThanemptyA date (2026-10-01) or a relative value (7 days, 2 weeks, 3 months). Turns details on.
maxAlbums5For an albums tab: how many albums to read.
proxyConfigurationApify DatacenterSee Proxy policy.
debugoffLog request status, size and timing.

Why might I get fewer photos than I asked for?

  • The Page, profile or album has fewer public photos.
  • The date filter skipped older photos. A source stops once a whole page of its photos is older than your date.
  • Facebook limited requests for a while. The run then saves what it has, marks the source in RUN_SUMMARY, and saves a ready-to-run RETRY_INPUT with the unfinished sources.
  • Your spending limit was reached. The run stops early and keeps everything already delivered.

Output

One row per photo. A start URL that produces no photos gets one free error row with status: "error", an errorCode (NOT_FOUND, NOT_PUBLIC, RATE_LIMITED, BLOCKED or UNSUPPORTED_URL) and a message.

FieldNotes
photoId, photoUrlFacebook's photo ID and the photo's page
imageUrl, imageWidth, imageHeightThe full-size image and its size in pixels
thumbnailUrlA small square preview. Photos-tab rows only; null for album rows and single photos
altTextFacebook's accessibility caption: the owner's own alt text, Facebook's generated one, or "No photo description available."
ownerId, ownerNameThe Page or profile that posted the photo
sourceUrl, sourceType, positionWhich start URL listed it (page, albums, album, photo) and where in that list
albumId, albumNameWhen listed from an album or an albums tab
createdAt, createdDateWhen it was published (with details)
caption, hashtags, hashtagsText, mentions, mentionsTextThe post text and what it tags (with details)
reactionsCount, reactionsByType, commentsCount, sharesCountExact counts, and reactions split into like, love, care, haha, wow, sad, angry (with details)
detailStatusok, skipped (details off) or failed (Facebook did not return the details; not charged)
status, errorCode, errorMessage, scrapedAt

Values Facebook does not publish are null, never 0.

⚠️ Image URLs expire. Facebook signs its image links, and they stop working after a few days. Download the images you need soon after the run.

Output views and sample records

The dataset has four views. The records below are real rows from Apify runs (long URLs and captions trimmed).

Photos: table view

Image, owner, date, caption, engagement and links, one row per photo.

Facebook Photos Scraper output: Photos table view with image, owner, date, caption, reactions, comments and shares

A full record from NASA's photos tab, with details on:

{
"photoId": "1675983760563660",
"photoUrl": "https://www.facebook.com/photo/?fbid=1675983760563660",
"imageUrl": "https://scontent-fml20-1.xx.fbcdn.net/v/t39.99422-6/871223884_1487536193225483_3660942795677810580_n.png?stp=…",
"imageWidth": 2000,
"imageHeight": 1385,
"thumbnailUrl": "https://scontent-fml20-1.xx.fbcdn.net/v/t39.99422-6/871223884_1487536193225483_3660942795677810580_n.png?stp=…",
"altText": "An intricate cloud of white dust takes center stage in this photo, rising in a windy pillar. The background features rust-colored dust with dots of distant stars and galaxies shining through.",
"ownerId": "100044561550831",
"ownerName": "NASA - National Aeronautics and Space Administration",
"sourceUrl": "https://www.facebook.com/NASA/photos",
"sourceType": "page",
"position": 1,
"albumId": null,
"albumName": null,
"createdAt": "2026-11-03T15:00:35.000Z",
"createdDate": "2026-11-03",
"caption": "Pspsps 🐈‍⬛\n\nThis smoky specter is the Cat’s Head Nebula, captured in intricate detail by NASA's James Webb Space Telescope. …",
"hashtags": [],
"hashtagsText": null,
"mentions": [],
"mentionsText": null,
"reactionsCount": 47823,
"reactionsByType": { "love": 24555, "like": 22013, "care": 827, "wow": 293, "haha": 122, "sad": 7, "angry": 6 },
"commentsCount": 533,
"sharesCount": 3520,
"detailStatus": "ok",
"status": "ok",
"errorCode": null,
"errorMessage": null,
"scrapedAt": "2026-11-05T07:13:05.803Z"
}
Images & alt text

Full-size image URLs with their size and alt text. A row from NASA's "Cover photos" album (album rows carry albumId and albumName, and no thumbnailUrl):

{
"imageUrl": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.99422-6/809146614_4484013928506139_3181913787670602881_n.png?stp=…",
"photoId": "1629624498532920",
"imageWidth": 2047,
"imageHeight": 1487,
"altText": "No photo description available.",
"ownerName": "NASA - National Aeronautics and Space Administration",
"albumName": "Cover photos",
"photoUrl": "https://www.facebook.com/photo/?fbid=1629624498532920"
}
Captions & engagement

Date, caption, hashtags, mentions and every count. A row from Nike's photos tab:

{
"photoUrl": "https://www.facebook.com/photo/?fbid=1096426968518678",
"createdAt": "2024-09-08T20:38:04.000Z",
"caption": "Nice finishes first. @janniksin takes home his second Grand Slam title. #WinningIsntForEveryone",
"hashtagsText": "#WinningIsntForEveryone",
"mentionsText": "@janniksin",
"reactionsCount": 333,
"reactionsByType": { "like": 249, "love": 72, "care": 5, "haha": 2, "wow": 2, "angry": 2, "sad": 1 },
"commentsCount": 26,
"sharesCount": 131,
"detailStatus": "ok"
}
Errors

Start URLs that produced no photos, and why. Free:

{
"sourceUrl": "https://www.facebook.com/groups/apifyusers",
"sourceType": null,
"errorCode": "UNSUPPORTED_URL",
"errorMessage": "Group photos need a login. For group posts, use coregent/facebook-groups-scraper.",
"scrapedAt": "2026-11-05T07:13:03.392Z"
}

Run summary and retries

The key-value store holds RUN_SUMMARY (photos listed and saved, details fetched, duplicates skipped, photos skipped by the date filter, errors by code, one report per source) and, when a source stopped early, RETRY_INPUT: your input with only the unfinished sources, ready to run again.


Do I need a Facebook login or cookies?

No. The Actor reads only what Facebook shows a logged-out visitor, over plain HTTP. There is nothing to log in to and no account to get restricted.

What is not available?

  • Private photos: friends-only profiles, private groups, and anything behind a login.
  • Who is tagged in a photo, and who reacted.
  • Photo comments. Use the Facebook Comments Scraper with a photo's photoUrl.
  • Videos and reels. Use the Facebook Reels Scraper.
  • Image files. The Actor returns image URLs, not the image files themselves.

Is a photo returned twice if it is in a Page and an album?

No. Photos are de-duplicated across the whole run: a photo found through a Page's photos tab and again through one of its albums is returned, and charged, once.


💸 How is pricing calculated?

Pay per photo. There are two events:

  • Photo result: once per unique photo delivered to your dataset.
  • Photo details: once per delivered photo whose details (date, caption, hashtags, mentions, engagement) were read. Only charged with "Include photo details" on.

You are not charged for error rows, duplicates, photos skipped by the date filter, details that could not be read, paging, retries, or the run summary. There is no start fee.

Image-only runs (details off) pay for the photo result only. Current prices are on the Actor's Pricing tab. This README deliberately doesn't quote figures, so it can never disagree with the live price.

If you set a spending limit on your run, the Actor stops when it is reached and keeps everything already delivered.


🔗 Coregent Facebook Actors

You haveUseTo get
A photo's photoUrlFacebook Comments Scraperthe photo's comment thread, with replies
A Page URLFacebook Posts Scraperits posts, with text and engagement
A Page URLFacebook Reels Scraperits reels and videos
A Page URLFacebook Pages Scrapercategory, phone, email, website, address, followers

Can I schedule it?

Yes. Save your input as a Task and add a Schedule in Apify Console. With photosNewerThan: "7 days" and a weekly schedule, each run returns only the new photos.

Can I call it through the API or MCP?

Yes, like any Apify Actor:

curl -X POST "https://api.apify.com/v2/acts/coregent~facebook-photos-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"startUrls": [{"url": "https://www.facebook.com/NASA/photos"}], "resultsLimit": 20}'

It is also available to AI agents through the Apify MCP server, and from the Apify SDKs for JavaScript and Python.


🚦 Proxy policy

Use Apify Datacenter proxy (the default) for normal runs.

Apify Residential proxy is not supported. If apifyProxyGroups includes RESIDENTIAL, the run uses Apify Datacenter proxy instead and logs a warning; it doesn't fail. Reason: on pay-per-result Actors, residential bandwidth is billed to the Actor's developer rather than to your run, and each photo's details are about 0.6 MB, so a single run could cost more than its results earn.

If you genuinely need residential routing, supply your own provider under Custom proxy URLs in the proxy editor. That traffic goes through your own account and is used as given:

http://user:pass@proxy.iproyal.com:12321
http://user:pass@proxy.brightdata.com:22225
http://user:pass@proxy.oxylabs.io:7777

Limitations

  • Public, logged-out photos only, by design.
  • Image URLs expire after a few days (see above).
  • The date filter needs details, because the photo list itself carries no dates. Setting a date turns details on.
  • Order is Facebook's. Photos tabs list newest first; albums list in the album's own order.
  • Facebook limits request rates. Large runs over many Pages can slow down or stop early on some sources; RETRY_INPUT lets you finish them.

Privacy and responsible use

This is an unofficial tool and is not affiliated with, endorsed by or sponsored by Meta or Facebook.

It collects only what Facebook shows publicly to a logged-out visitor. It does not log in, does not use cookies, and does not bypass any access control. Photos remain the copyright of their owners: you are responsible for how you use the images and data, including having a lawful basis to collect and process any personal information (for example under GDPR or CCPA).


Need something else?

Found a bug, or need a field or source that isn't here? Open an issue on the Actor's Issues tab. We read them.