Lightweight Facebook Pages Scraper avatar
Lightweight Facebook Pages Scraper
Try for free

No credit card required

View all Actors
Lightweight Facebook Pages Scraper

Lightweight Facebook Pages Scraper

oussemafr/lightweight-facebook-pages-scraper
Try for free

No credit card required

Scrape detailed Facebook page information efficiently and cost-effectively with our best scraper. Extract valuable data like page names, URLs, contact details, addresses, likes, and followers for competitive analysis, market research, trend monitoring, and social media analysis.

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  "start_urls": [
8    {
9      "url": "https://www.facebook.com/humansofnewyork"
10    },
11    {
12      "url": "https://www.facebook.com/HiltonGardenInnMontrealAirport/"
13    }
14  ],
15  "proxyUrls": {
16    "useApifyProxy": true,
17    "apifyProxyGroups": [
18      "RESIDENTIAL"
19    ]
20  }
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/oussemafr~lightweight-facebook-pages-scraper/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 43 monthly users
  • 3 stars
  • 99.9% runs succeeded
  • 9.4 hours response time
  • Created in May 2024
  • Modified 3 days ago