facebook-scraper3
3.4
The Facebook Scraper3 MCP server is a tool for extracting data from Facebook without needing an account or proxy.
The Facebook Scraper3 MCP server provides a comprehensive suite of tools that enable users to efficiently navigate and extract information from various Facebook resources. Whether you're interested in posts, pages, locations, or events, this server has the capabilities you need.
Features
- No Facebook Account Required: Access Facebook content without logging in or using a proxy.
- Wide Range of Search Options: Perform searches across posts, pages, places, locations, videos, and events with advanced filtering options, including date filters.
- Detailed Data Access: Retrieve detailed information about posts, pages, groups, events, and profiles.
- Efficient Data Navigation: Use cursors to navigate through paginated results for extensive data retrieval.
Usage with Different Platforms
python
python
import facebook_scraper3
# Initialize the scraper
scraper = facebook_scraper3.Scraper()
# Search for posts
posts = scraper.search_posts(query='example', location='USA', date_range=('2023-01-01', '2023-10-01'))
# Print post details
for post in posts:
print(post)
nodejs
javascript
const FacebookScraper3 = require('facebook-scraper3');
// Initialize the scraper
const scraper = new FacebookScraper3();
// Search for pages
scraper.searchPages({ query: 'example', location: 'USA' })
.then(pages => {
pages.forEach(page => console.log(page));
})
.catch(error => console.error(error));