Facebook Events Scraper avatar
Facebook Events Scraper

Pricing

$35.00/month + usage

Go to Store
Facebook Events Scraper

Facebook Events Scraper

Developed by

Apify

Apify

Maintained by Apify

Facebook Events Scraper extracts data such as event name, location, description or number of users who are interested. You can use URLs of specific events or come up with search queries and explore pretty much unlimited number of events. Search queries can be combined with various search filters.

4.6 (6)

Pricing

$35.00/month + usage

42

Total users

1.5K

Monthly users

135

Runs succeeded

>99%

Issues response

2.4 days

Last modified

2 days ago

MT

Run output doesn't match input

Open

mathiaspr opened this issue
2 months ago

I did a post call with Postman to start a run: POST https://api.apify.com/v2/acts/apify~facebook-events-scraper/runs?token= and as body of the request I provided: { "searchQueries": [ "Kalmthout" ], "startUrls": ["https://www.facebook.com/events/search?q=Kalmthout&filters=eyJmaWx0ZXJfZXZlbnRzX2RhdGVfcmFuZ2U6MCI6IntcIm5hbWVcIjpcImZpbHRlcl9ldmVudHNfZGF0ZVwiLFwiYXJnc1wiOlwiMjAyNS0wNS0yNlwifSIsImZpbHRlcl9ldmVudHNfZGF0ZV9yYW5nZToxIjoie1wibmFtZVwiOlwiZmlsdGVyX2V2ZW50c19kYXRlXCIsXCJhcmdzXCI6XCIyMDI1LTA1LTI3XCJ9In0%3D"], "maxEvents": 10 }

When I look in the apify console it shows these parameters in the input field, however it still returns 20 events instead of 10, and it includes events out of the selected dates (startUrls). It does give back only events that match the query Kalmthout so that does seem to work. What do I do wrong?

weuts avatar

Hi 😊

That seems like a bug on our side 😅, sorry about that 😔. I'll look into how it may have happened.

kazadoiyul avatar

Hello, The problem is that maxEvents parameter currently doesn't do what is described in the description. The actual behavior is that the actor crawls maxEvents amount of results per input, which in your case is 2 (since you specified both a searchQuery and gave a direct url to look for). But because there's not enough results for the direct url search, the actor compensates the amount by scraping more events found by using the searchQuery. I am not sure what logic we want to get here but I will consult with the team and we will get back to you.