kevinzg / facebook-scraper

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

get_posts_by_search returns only 9 posts #938

Open belhajManel opened 1 year ago

belhajManel commented 1 year ago

for post in fb.get_posts_by_search("netflix",cookies="facebook.com_cookies.txt" ,pages=10, options={"comments": True, "reactors": True, "allow_extra_requests": True,"posts_per_page": 5}): print(post)

This snippet of code only returns 9 posts from the total of all posts and I can't seem to find the bug in the code. Anyone solved this?

@neon-ninja any updates about this feature?