Facebook Photos Scraper avatar
Facebook Photos Scraper
Try for free

7 days trial then $20.00/month - No credit card required now

View all Actors
Facebook Photos Scraper

Facebook Photos Scraper

apify/facebook-photos-scraper
Try for free

7 days trial then $20.00/month - No credit card required now

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.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    {
9      "url": "https://www.facebook.com/humansofnewyork"
10    }
11  ],
12  "resultsLimit": 10
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/apify~facebook-photos-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 60 monthly users
  • 7 stars
  • 100.0% runs succeeded
  • 18 days response time
  • Created in Nov 2022
  • Modified 5 days ago