moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
60 stars 23 forks source link

The options of obtaining "reactions" and "reactors" are separated #55

Closed Eitol closed 1 month ago

Eitol commented 2 months ago

Currently, in order to obtain the reactions it is necessary to pass the "reactors" option, the problem with this is that to search for the reactors you have to make additional requests, whereas for the reactions you only have to make an additional request. In the event that we do not want to know the individual reactors but the reactions, it is important to separate the options.

moda20 commented 1 month ago

@Eitol sorry for getting to this a bit late, but have you actually tested the reactions and reactors scraping ? does it work ? can you paste a small testing script ? from my own testing it i get this error :

Exception while extracting reactions: KeyError('reactors')

it seems the m.facebook url is not returning anything but that might be just that there is no one reacting to the post in question.

Eitol commented 1 month ago

I made my own scraper and I'm not going to use this repo anymore. I close the PR. Thanks https://github.com/Eitol/facebook_simple_scraper