kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.45k stars 633 forks source link

No results found while trying the get_posts() function #982

Open ikbal-Benahmed opened 1 year ago

ikbal-Benahmed commented 1 year ago

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

rodigu commented 1 year ago

also not working for me

rodigu commented 1 year ago

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

neon-ninja commented 1 year ago

Try pass cookies as per the readme

184104489 commented 1 year ago

Try pass cookies as per the readme

same problem

184104489 commented 1 year ago

Try pass cookies as per the readme

Are you ok?

rodigu commented 1 year ago

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

ikbal-Benahmed commented 1 year ago

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

rodigu commented 1 year ago

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.