kevinzg/facebook-scraper

No Post are returned.

gyleodhis opened this issue · 5 comments

image I have tried this with different facebook pages but no posts are being returned for either.

I have the same problem

use pages=3 instead of pages=1

I do have the same problem with pages=10 or even 100, no matter the page I try:

from facebook_scraper import get_posts
for page in [
        "nintendo",
        "cocacolanetherlands",
        "Microsoft",
        "TwitterInc",
        "BitsofFreedom"]:
    for post in get_posts(page, pages=10):
        print(post)
    

prints nothing as all inner generators are empty loops.

EDIT: some more context. I am on Manjaro Linux, python 3.11.5 and pip freeze returns

appdirs==1.4.4
beautifulsoup4==4.12.2
bs4==0.0.1
certifi==2023.7.22
charset-normalizer==3.3.0
cssselect==1.2.0
dateparser==1.1.8
demjson3==3.0.6
facebook-scraper @ git+https://github.com/kevinzg/facebook-scraper.git@392be1eabb43ed301fb7d5c3fd6e10318d26ac27
fake-useragent==1.3.0
idna==3.4
importlib-metadata==6.8.0
lxml==4.9.3
parse==1.19.1
pyee==8.2.2
pyppeteer==1.0.2
pyquery==2.0.0
python-dateutil==2.8.2
pytz==2023.3.post1
regex==2023.8.8
requests==2.31.0
requests-html==0.10.0
six==1.16.0
soupsieve==2.5
tqdm==4.66.1
tzlocal==5.0.1
urllib3==1.26.17
w3lib==2.1.2
websockets==10.4
zipp==3.17.0

Why does the owner doesn't respond to any of the Issues?

I had the same problem, but get comments is work!