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

No results found while trying the get_posts() function

Open ikbal-Benahmed opened this issue 1 year ago • 8 comments

I've been using the API for 3 days, working perfectly, but now, when I use the function I get results from the pages I've been getting posts from, but not up-to-date results, while for new pages , I'm getting 0 results, PLEASE FIX THE ISSUE

ikbal-Benahmed avatar Mar 01 '23 10:03 ikbal-Benahmed

also not working for me

rodigu avatar Mar 03 '23 19:03 rodigu

Tried it with a big page, using almost the same code as the example, but get_posts returns nothing:

from facebook_scraper import get_posts

for post in get_posts('joancornella', pages=10):
    print(post)

It seems to only work on some pages and not others

rodigu avatar Mar 03 '23 19:03 rodigu

Try pass cookies as per the readme

neon-ninja avatar Mar 04 '23 00:03 neon-ninja

Try pass cookies as per the readme

same problem

184104489 avatar Mar 04 '23 13:03 184104489

Try pass cookies as per the readme

Are you ok?

184104489 avatar Mar 04 '23 13:03 184104489

Try pass cookies as per the readme

Tried your suggestion of using cookies, but now I am getting the same errors as #934 and #879

rodigu avatar Mar 04 '23 18:03 rodigu

I saw people saying that it worked after a given time ( a day or two ) Keep retrying ... it has something to with Facebook servers

ikbal-Benahmed avatar Mar 05 '23 22:03 ikbal-Benahmed

Still doesn't work. I have been trying every for 4 days.

What did work was running the code on a Mac.

I still get the errors in #934 and #879 on my Windows machine, but the exact same code works on a Mac.

rodigu avatar Mar 09 '23 00:03 rodigu