kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.43k stars 631 forks source link

Is it possible to filter scraping by user id? #204

Open ccolonna opened 3 years ago

ccolonna commented 3 years ago

Example: all public posts of a user, all public friends of the user, given a user id

neon-ninja commented 3 years ago

You can collect all public posts of a user/profile, but you can't currently extract their friends. As of https://github.com/kevinzg/facebook-scraper/pull/201 you can now extract their about section information

neon-ninja commented 3 years ago

As of https://github.com/kevinzg/facebook-scraper/pull/226 you can now extract friends

hc2021hc commented 3 years ago

May I know if it is possible to get the User ID from account name and vice versa in the get_profile function?

neon-ninja commented 3 years ago

Yes, it is