kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.4k stars 627 forks source link

Cannot get all the reactors using get_reactors #745

Open YomalSmarakoon opened 2 years ago

YomalSmarakoon commented 2 years ago

Here I'm trying to get details about all the reactors in one post from a Facebook group. here is my code.

from facebook_scraper import *
from facebook_scraper import get_posts

for post in get_posts(post_urls=[1908271309365765], cookies='cookies.txt',
                      options={"allow_extra_requests": True, "reactions": True, 'reactors': True}):
    print("FB Post Successfully Readed!")

for reactors in get_reactors(1908271309365765, options={"allow_extra_requests": True}):
    print("Reactors for Post")
    print(reactors)

but I'm only getting details about 51 reactors! there are 8K reactors. Can I know why is that?

neon-ninja commented 2 years ago

Try set your Facebook language to English

YomalSmarakoon commented 2 years ago

@neon-ninja Its already in English Screenshot (406)

YomalSmarakoon commented 2 years ago

@neon-ninja Do you have any idea about this?

neon-ninja commented 2 years ago

Perhaps you're getting rate limited. Try put some time.sleep in your reactor extraction. With a .1s sleep in between each reactor, I was able to extract 2177 reactors before I hit You Can't Use This Feature Right Now