Facebook Pages Scraper avatar
Facebook Pages Scraper
Try for free

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

View all Actors
Facebook Pages Scraper

Facebook Pages Scraper

powerful_bachelor/facebook-posts-scraper
Try for free

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

Unlock the power of Facebook data with πŸ“˜ Facebook Pages Scraper! Dive deep into page analytics, trends, and audience engagement. Curious what insights are hidden in plain sight? Let's explore together!

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/powerful_bachelor~facebook-posts-scraper/runs?token=$API_TOKEN" \
29  -X POST \
30  -d @input.json \
31  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 11 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Mar 2024
  • Modified 23 days ago