kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.35k stars 626 forks source link

possible issues with extra_info, reactors #407

Open eolocon opened 3 years ago

eolocon commented 3 years ago

Hi Kevin!

I'd like to begin saying that you are doing a great work!

I'm submitting this issue hoping to be helpful

1) The "Optional parameters" section (https://github.com/kevinzg/facebook-scraper#optional-parameters) accounts for the "extra_info" parameter; using that parameter, though, generates an error :

File "/usr/local/lib/python3.9/site-packages/facebook_scraper/init.py", line 197, in get_posts return _scraper.get_posts_by_url(post_urls, **kwargs) TypeError: get_posts_by_url() got an unexpected keyword argument 'extra_info'

I guess it refers to an older version of the scraper

2) with options = {"reactions" : True}, reactions are correctly fetched (as far as I have seen) with options = {"reactions" : True, "reactors" : True} or options = {"reactors: True"}, the scraper (as far as I have seen) can't fetch the reactors nor the reactions

(English isn't my first language, and I often doubt about how I'm saying things. To be perfectly clear, I mean NO reactors and NO reactions)

Thanks a lot for your work! Keep rockin'!

neon-ninja commented 3 years ago

Which post are you having this problem with?