kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.39k stars 628 forks source link

get_posts doesn't return anything #1059

Closed wangwchcs closed 12 months ago

wangwchcs commented 12 months ago

Hi all,

I'm using this package every day to monitor comments on my Facebook page. But it's doesn't return any comments today when I ran my code and this example:

from facebook_scraper import get_posts

for post in get_posts('nintendo', pages=3):
    print(post['text'][:50])

Is there anything happened?

Thank you!

wangwchcs commented 12 months ago

I figured it out. It was cookies issue. It works after I updated the cookies files.