Facebook Groups Scraper

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

Facebook Groups Scraper

Facebook Groups Scraper

apify/facebook-groups-scraper

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

Extract data from one or multiple public Facebook groups. Get group and post URLs, post text, comments, timestamp, likes and comments count, and basic commentator info. 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 mode

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/groups/874728723021553"
    }
  ],
  "resultsLimit": 20,
  "viewOption": "CHRONOLOGICAL"
}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/apify~facebook-groups-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor stats
  • 2.7k users
  • 117.3k runs
  • Modified about 8 hours ago

You might also like these Actors