facebook-scraper
facebook-scraper copied to clipboard
Scrape Facebook public pages without an API key
I can't get the comments when using get_posts from a page or group, but i can get them when using the exact url of a post from a page or...
can you pls provide a sample python script that work i tested using `from facebook_scraper import get_posts, _scraper import json for post in get_posts('nintendo', base_url="https://mbasic.facebook.com", start_url="https://mbasic.facebook.com/nintendo?v=timeline", pages=3, cookies='trollmcookies.txt'): try: print(post['text'][:20])...
Hi bro, I tried to get a video from a post and it's not working, it seems like facebook has adjusted the elements so they're not working properly, please help...
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...
I found that the posts page with comments and replies cannot get the comments any more. As the page html format changed ! You can try this post: ``` POST_ID...
Already set `_scraper.mbasic_headers`, and set `base_url` and `start_url` parameters to mbasic, and set `cookies` to be the same as the cookies contained in the headers. `get_profile('LyricaGame', **options)` gives ```python {'Friend_count':...
My code: ```python for post in get_posts( account="100064487329582", base_url="https://mbasic.facebook.com", start_url="https://mbasic.facebook.com/Starbucks?v=timeline", pages=5, cookies="facebook_cookies.txt", options={"posts_per_page": 200}, ): ``` And the result I got: ```json {'post_id': '785438270282410', 'text': 'Velvety smoothness. ✨ New Oleato...
Hello @moda20 I tried to look up your email to contact but didn't find it so I had to open this issue. Thank you for rescuing this repo from being...
I was testing a slightly modified version of the example usage code: ``` ACCOUNT = "NintendoAmerica" for post in get_posts(account = ACCOUNT, base_url = "https://mbasic.facebook.com/", start_url = "https://mbasic.facebook.com/" + ACCOUNT...
https://www.facebook.com/LyricaGame/posts/pfbid0ZD1LWTSAtiAbPpem7AA2tpnEh7QXviqY3hf4mfYvg53yoakBb77DEKwqERv8htBzl When this post is fetched using `get_page_info('LyricaGame')`, the fields `shared_post_id`, `shared_time`, `shared_user_id` etc are all `None`.