You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if I whant to scrape group, I just modify facebook_user_name = "love.yuweishao" and facebook_user_id = "100044253168423" right?
Can you give me an example?Or you have best solution, please let me know, thank you.
>> Example.1 - without logging in
if __name__ == "__main__":
facebook_user_name = "love.yuweishao"
facebook_user_id = "100044253168423"
days_limit = 30 # Number of days within which to scrape posts
driver_path = "/Users/renren/Desktop/FB_graphql_scraper拷貝/fb_graphql_scraper/resources/chromedriver-mac-arm64/chromedriver"
fb_spider = fb_graphql_scraper(driver_path=driver_path)
res = fb_spider.get_user_posts(fb_username_or_userid=facebook_user_name, days_limit=days_limit,display_progress=True)
print(res)
Hi
I want to scrape facebook group,how can I change the code? Thank you .
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: