Facebook Photos Scraper avatar

Facebook Photos Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Facebook Photos Scraper

Facebook Photos Scraper

Extract data from one or multiple Facebook images. Get image ID, Facebook photo URL, image URL, OCR text, and more. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(18)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

18

Bookmarked

1

Total users

0

Monthly active users

9 hours ago

Last modified

Share

Extract data from one or multiple Facebook images. Get image ID, Facebook photo URL, image URL, alt text (OCR/image description), engagement metrics, and more. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

What does Facebook Photos Scraper do?

Facebook Photos Scraper lets you extract publicly available photo data from Facebook pages, profiles, albums, and individual photos — without requiring Facebook login or cookies.

For each photo, the scraper extracts:

  • Photo ID — Unique Facebook photo identifier
  • Photo URL — Direct link to the photo on Facebook
  • Image URL — Direct link to the full-resolution image file
  • Caption — Photo description/caption text
  • Alt Text — Facebook's auto-generated image description (serves as OCR text)
  • Timestamp — When the photo was uploaded
  • Likes Count — Number of reactions/likes
  • Comments Count — Number of comments
  • Author Name — Page or profile name that posted the photo
  • Author URL — Link to the author's Facebook page/profile

How to use Facebook Photos Scraper

  1. Provide Facebook URLs — Enter one or more URLs of Facebook pages, profiles, photo albums, or individual photos
  2. Set results limit (optional) — Limit the maximum number of photos to extract
  3. Run the scraper — Click "Start" and wait for results
  4. Download data — Export results in JSON, CSV, or Excel format

Supported URL formats

URL TypeExample
Page URLhttps://www.facebook.com/humansofnewyork
Photos sectionhttps://www.facebook.com/humansofnewyork/photos
Individual photohttps://www.facebook.com/photo/?fbid=123456789
Photo albumhttps://www.facebook.com/media/set/?set=a.123456789
Profile URLhttps://www.facebook.com/profile.php?id=123456789
Mobile URLhttps://m.facebook.com/humansofnewyork/photos

Input example

{
"startUrls": [
{ "url": "https://www.facebook.com/humansofnewyork" }
],
"resultsLimit": 10
}

Output example

{
"photoId": "10158123456789",
"photoUrl": "https://www.facebook.com/photo/?fbid=10158123456789",
"imageUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-6/photo.jpg",
"caption": "Today I met someone extraordinary at the park...",
"altText": "May be an image of 2 people, outdoors, standing",
"timestamp": "2024-03-15T14:30:00",
"likesCount": 15230,
"commentsCount": 842,
"authorName": "Humans of New York",
"authorUrl": "https://www.facebook.com/humansofnewyork",
"inputUrl": "https://www.facebook.com/humansofnewyork",
"scrapedAt": "2024-03-20T10:15:30.123456"
}

How much does it cost to scrape Facebook photos?

The scraper runs on the Apify platform and uses minimal compute resources. No proxy is required for most public pages, keeping costs low.

ResourceUsage
Compute~0.01 CU per photo
ProxyNot required for public pages
Memory1024 MB recommended

Tips for best results

  • Use public pages — The scraper works best with public Facebook pages (business pages, public figures, organizations)
  • Set a results limit — Start with a small limit (10-20) to test, then increase as needed
  • Page URLs work best — Providing a page URL extracts the most recent photos from that page's photo section
  • No login needed — The scraper doesn't require Facebook cookies or login credentials

Limitations

  • Only works with publicly accessible Facebook content
  • Private profiles and restricted content cannot be scraped
  • Facebook may rate-limit excessive requests — use reasonable limits
  • Engagement metrics (likes, comments) may not be available for all photos
  • OCR text uses Facebook's auto-generated image descriptions, not traditional OCR

FAQ

Can I scrape photos without a Facebook account?

Yes! The scraper works without any Facebook login or cookies. It only accesses publicly available content.

What image quality do I get?

The scraper extracts the highest resolution image URL available from the public page, typically the full-resolution upload.

Why are some fields empty?

Some photos may not have captions, or engagement data may not be publicly visible. The scraper returns all available data and uses empty strings/zeros for unavailable fields — no null values.

Can I scrape photos from private profiles?

No. The scraper only works with publicly accessible content. Private or restricted profiles will be skipped.

How many photos can I scrape?

There's no hard limit. Use the resultsLimit parameter to control how many photos to extract. Larger numbers will take more time and compute resources.