moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
60 stars 23 forks source link

get_post_by_search() is not working throwing some error #46

Open naveedamir488569 opened 3 months ago

naveedamir488569 commented 3 months ago

for post in get_posts_by_search("robots"): print(post)

i am using above logic, to fetch the posts by keyword, during code execution, i am getting below error:

raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://m.facebook.com/search/posts?q=robots

please help me resolve this, if someone has already resolved it,

moda20 commented 3 months ago

@naveedamir488569 Yes this wasn't updated yet, it would be great if you can help with that