Facebook Photos Scraper

  • apify/facebook-photos-scraper
  • Modified
  • Users 47
  • Runs 289
  • Created by Author's avatarApify

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.

Free trial for 7 days

Then $20.00/month

No credit card required now

Facebook Photos Scraper

Free trial for 7 days

Then $20.00/month

What is Facebook Photos Scraper?

It's a simple and powerful tool that allows you to scrape data from Facebook photos: image ID, Facebook URL, image URL, and OCR text. To get that data, just insert the page URL and click "Save & Start" button.

Why scrape Facebook images?

  • Monitor competition to identify what they're doing right, or wrong, and how you can do it better
  • Conduct market research or analysis
  • Analyze social media and identify hot spots of misinformation
  • Track brand sentiment and shifts in cutsomer engagement

Please note that this scraper displays the extracted results only at the very end of the run. The rest of the time it will display 0 results. Please be patient until the end of the scraper run to see all the extracted data.

How do I use Facebook Photos Scraper?

Facebook Photos Scraper was designed to be easy to start with even if you've never extracted data from the web before. Here's how you can scrape Facebook data with this tool:

  1. Create a free Apify account using your email.
  2. Open Facebook Photos Scraper.
  3. Add one or more Facebook page/profile URLs to scrape its photos.
  4. Click "Start" and wait for the data to be extracted.
  5. Download your data in JSON, XML, CSV, Excel, or HTML.

Input

The input for Facebook Photos Scraper should be URLs of Facebook pages you want to scrape images from. Click on the input tab for an input example in JSON.

{
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "resultsLimit": 10,
  "startUrls": [
    {
      "url": "https://www.facebook.com/copperkettleyqr"
    }
  ],
  "maxRequestRetries": 10
}
...

Output

This mini-scraper will deliver results in a dataset. You can choose in which format to download it: JSON, Excel, HTML CSV, or XML. Here's an excerpt from the JSON dataset you'd get if you apply the input parameters above:

[{
  "id": "YXBwX2l0ZW06MTAwMDY0MDI3MjQyODQ5OjIzMjcxNTgyMjc6NTo6NTI2OTI4Njg2MTE4MDM1",
  "image": "https://scontent.fbna2-1.fna.fbcdn.net/v/t39.30808-6/318525673_526928672784703_4609683309310527953_n.jpg?stp=c80.0.206.206a_dst-jpg_p206x206&_nc_cat=101&ccb=1-7&_nc_sid=da31f3&_nc_ohc=XDEOIAlk420AX9Gpx0P&_nc_ht=scontent.fbna2-1.fna&oh=00_AfAXFRVgWuRbULeNmPcw_XnHHYrCB4svwURRMSLVmq_SOw&oe=639AB1C4",
  "url": "https://www.facebook.com/photo.php?fbid=526928686118035&set=pb.100064027242849.-2207520000.&type=3",
  "dataType": "photo",
  "ocrText": "May be an image of 8 people and indoor",
  "facebookUrl": "https://www.facebook.com/copperkettleyqr"
},
{
  "id": "YXBwX2l0ZW06MTAwMDY0MDI3MjQyODQ5OjIzMjcxNTgyMjc6NTo6NTI2NjM0OTU2MTQ3NDA4",
  "image": "https://scontent.fbna2-1.fna.fbcdn.net/v/t39.30808-6/318248901_526635142814056_6624748793517600997_n.jpg?stp=c34.0.206.206a_dst-jpg_p206x206&_nc_cat=109&ccb=1-7&_nc_sid=da31f3&_nc_ohc=8Kurb8D7GxsAX_AdmYV&_nc_ht=scontent.fbna2-1.fna&oh=00_AfAiPZSGj5bezjNuUGGf2QNTkS4RzuoS-eLy925eGRLdTw&oe=639B2912",
  "url": "https://www.facebook.com/photo.php?fbid=526634956147408&set=pb.100064027242849.-2207520000.&type=3",
  "dataType": "photo",
  "ocrText": "May be an image of food",
  "facebookUrl": "https://www.facebook.com/copperkettleyqr"
},
{
  "id": "YXBwX2l0ZW06MTAwMDY0MDI3MjQyODQ5OjIzMjcxNTgyMjc6NTo6NTI2NjM0ODk2MTQ3NDE0",
  "image": "https://scontent.fbna2-1.fna.fbcdn.net/v/t39.30808-6/319283836_526635059480731_249175491622667100_n.jpg?stp=c34.0.206.206a_dst-jpg_p206x206&_nc_cat=111&ccb=1-7&_nc_sid=da31f3&_nc_ohc=4FYbqUDeELAAX-1U62Q&_nc_ht=scontent.fbna2-1.fna&oh=00_AfDHubDfu3YYNDiQ5uEvpt1Yapr7uGlQyboV2ein1V0row&oe=639B1B91",
  "url": "https://www.facebook.com/photo.php?fbid=526634896147414&set=pb.100064027242849.-2207520000.&type=3",
  "dataType": "photo",
  "ocrText": "May be an image of food",
  "facebookUrl": "https://www.facebook.com/copperkettleyqr"
},
{
  "id": "YXBwX2l0ZW06MTAwMDY0MDI3MjQyODQ5OjIzMjcxNTgyMjc6NTo6NTI2NjM0ODUyODE0MDg1",
  "image": "https://scontent.fbna2-1.fna.fbcdn.net/v/t39.30808-6/319213545_526635002814070_7141569552647576834_n.jpg?stp=c97.0.206.206a_dst-jpg_p206x206&_nc_cat=101&ccb=1-7&_nc_sid=da31f3&_nc_ohc=4O1f27q29SYAX-c0VxB&_nc_oc=AQmLdYBCVvgulSwJFtGUWnM3eHAozV0r7QpoRAtF8jzXwbMnkWi86CR3WNMZmsK4Vlk&_nc_ht=scontent.fbna2-1.fna&oh=00_AfBiir5BhrQe4iwKfwiza4TfNS5VtMvEciRWmmhFgUoCaA&oe=6399A99F",
  "url": "https://www.facebook.com/photo.php?fbid=526634852814085&set=pb.100064027242849.-2207520000.&type=3",
  "dataType": "photo",
  "ocrText": "May be an image of food",
  "facebookUrl": "https://www.facebook.com/copperkettleyqr"
},
...

How much will it cost me to scrape Facebook Photos?

If you run the scraper on the Apify platform, for successful Facebook scraping you will need residential proxies which are included in Apify's monthly Personal plan ($49).

For more details about how our pricing works, platform credits, proxies and usage, see the platform pricing page or this video guide on โ–ท how to choose the right subscription plan.

Want to scrape Facebook groups or posts?

You can use the dedicated scrapers below if you want to scrape specific Facebook data. Each of them is built particularly for the relevant Facebook scraping case be it a group, reviews, comments or photos. Feel free to browse them:

| | | |:-: |:-: | | ๐Ÿ‘ฅ Facebook Groups Scraper | ๐ŸŒŸ Facebook Reviews Scraper | | ๐Ÿ’ฌ Facebook Comments Scraper | ๐Ÿ“ Facebook Posts Scraper |

Integrations and Facebook Photos Scraper

Last but not least, Facebook Photos Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more.

Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Facebook Photos Scraper successfully finishes a run.

Using Facebook Photos Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more. To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

Our Facebook scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so.

If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping.

Industries

See how Facebook Photos Scraper is used in industries around the world