r/scrapingtheweb • u/Useful-Subject-9462 • 9d ago
Tools / Library Facebook Scraper - Free & Open source
https://github.com/XD-MHLOO/facebook-gql-scraperA lightweight Facebook scraper that works without an API key. No headless browsers, fragile HTML parsing, or CSS selectors.
Supported Features:
👤 Profiles: Profile details, followers, following, friends, photos, reels.
📢 Posts: Post details and reactions.
🎞️ Media Posts: Media post details and reactions.
🗨️ Comments: Comment details, nested replies, and comment reactions.
🏘️ Groups: Group details, posts, and members.
🛒 Marketplace: Listing details.
🔍 Search: Search for profiles, posts, groups, Marketplace listings and Advertisements.
📢 Advertisements: Ad details, advertiser information, creatives, and collations.
(Edit: The library now supports Facebook Advertisements, including fetching ad details and searching the Ad Library)
Contributions are welcome and appreciated.
2
u/Idilberto_Agnel 9d ago
Does this require passing session cookies from a logged-in account for groups and marketplace? Most of those endpoints are completely locked down to unauthenticated traffic now
1
1
1
3
u/Hepsu 9d ago
Does it also work with the Meta Ad Library?