Facebook Events Scraper avatar
Facebook Events Scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Facebook Events Scraper

Facebook Events Scraper

microworlds/facebook-events-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

Scrape Facebook event pages.

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  "urls": [
8    "https://web.facebook.com/BossQueensSoul/upcoming_hosted_events",
9    "https://web.facebook.com/events/1023978871819924?_rdc=1&_rdr"
10  ],
11  "maxEvents": 50,
12  "minConcurrency": 1,
13  "maxConcurrency": 2,
14  "maxRequestRetries": 3,
15  "proxyConfig": {
16    "useApifyProxy": true
17  }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/microworlds~facebook-events-scraper/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 6 monthly users
  • 87.2% runs succeeded
  • 7.3 days response time
  • Created in Dec 2023
  • Modified 4 months ago