kevinzg / facebook-scraper

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

Scraping with Cookies return Nothing #1083

Open fashan7 opened 8 months ago

fashan7 commented 8 months ago

Hello

from facebook_scraper import get_posts
for post in get_posts('100070464731127', pages=3, timeout=90, cookies="cookies.txt"):
     print(post) #return nothing after exiting the loop
from facebook_scraper import get_posts
for post in get_posts('erbil.bel', pages=3, timeout=90, cookies="cookies.txt"):
     print(post) #return nothing after exiting the loop
for post in get_posts("akabarkarbala",options={"comments": True, "reactions": True,"allow_extra_requests": True},extra_info=True, pages=10, cookies="cookies.txt"):
    print(post) #return nothing after exiting the loop

Any other way to scrape using this library, Or am i missing something

fashan7 commented 8 months ago

Hello @neon-ninja or @kevinzg or Any other #contributer has any insight on this issue?

I installed the latest V for test

camwest5 commented 8 months ago

I'm having the same issue

moda20 commented 8 months ago

@fashan7 @camwest5 Please check my fork of this, it does return the full posts with most info : https://github.com/moda20/facebook-scraper