Facebook Pages Scraper avatar
Facebook Pages Scraper
Try for free

1 day trial then $29.00/month - No credit card required now

View all Actors
Facebook Pages Scraper

Facebook Pages Scraper

caprolok/facebook-pages-scraper
Try for free

1 day trial then $29.00/month - No credit card required now

๐Ÿ“˜ Unlock the power of social media with Facebook Post Scraper! Extract detailed insights from posts, including likes ๐Ÿ‘, comments ๐Ÿ’ฌ, shares ๐Ÿ”, and more. Download in JSON, CSV, Excel. Perfect for market research, trend analysis, and competitive monitoring. ๐Ÿš€

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 mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "profile_urls": [
8    {
9      "url": "https://www.facebook.com/KFC"
10    },
11    {
12      "url": "https://www.facebook.com/McDonalds"
13    }
14  ],
15  "post_urls": [
16    {
17      "url": "https://www.facebook.com/KFC/posts/pfbid024T3kAGQP4U9idufad1nH5eP94FX2vvoVcbFHHvyNF4G2xnMuG1QFAcirwRLAPerWl"
18    },
19    {
20      "url": "https://www.facebook.com/KFC/posts/pfbid0zLkXSow3WwA2eo3Tr1DkiKYwgK13YEYDkCeYUw21CdujXRnH8PYWVzyLAwgPQAbSl"
21    }
22  ]
23}
24EOF
25
26# Run the Actor using an HTTP API
27# See the full API reference at https://docs.apify.com/api/v2
28curl "https://api.apify.com/v2/acts/caprolok~facebook-pages-scraper/runs?token=$API_TOKEN" \
29  -X POST \
30  -d @input.json \
31  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 23 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Jan 2024
  • Modified about 1 month ago