facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

Cannot get all the reactors using get_reactors

Open YomalSmarakoon opened this issue 2 years ago • 4 comments

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?

YomalSmarakoon avatar May 02 '22 07:05 YomalSmarakoon

Try set your Facebook language to English

neon-ninja avatar May 02 '22 19:05 neon-ninja

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

YomalSmarakoon avatar May 03 '22 02:05 YomalSmarakoon

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

YomalSmarakoon avatar May 05 '22 03:05 YomalSmarakoon

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

neon-ninja avatar May 10 '22 23:05 neon-ninja