
Facebook Post Scraper
Pricing
$5.80 / 1,000 results

Facebook Post Scraper
A reliable Facebook Post Scraper for extracting public posts from Facebook pages, profiles, and groups at scale. This smart scraping agent supports keyword-based filtering, date range selection, mobile-optimized scraping, and built-in anti-bot detection handling for better reliability.
5.0 (5)
Pricing
$5.80 / 1,000 results
5
11
11
Last modified
8 hours ago
For simple searching and extracting public Facebook posts at scale. Featuring keyword-based filtering, date range support, mobile-optimized scraping, and anti-bot handling. Ideal for businesses, analysts, and developers performing market research, trend analysis, or content monitoring.
π Key Features
- Pure HTTP Requests: No browser overhead - uses Facebook's GraphQL API directly
- Complete Data Extraction: Posts, authors, engagement metrics, images, and metadata
- High Performance: Can handle thousands of posts efficiently
- Real Engagement Metrics: Accurate comment and reaction counts
- Enterprise Grade: Production-ready with comprehensive error handling
π― Use Cases
- Social Media Monitoring: Track brand mentions and sentiment
- Market Research: Analyze trends and public opinion
- Content Analysis: Study viral content and engagement patterns
- Competitor Intelligence: Monitor competitor social media activity
- Academic Research: Collect data for social science studies
- Trend Analysis: Identify emerging topics and hashtags
π Sample Output
[{"post_id": "123456789","url": "https://facebook.com/posts/123456789","message": "Check out this amazing new technology! #innovation #tech","timestamp": 1674567890,"comments_count": 25,"reactions_count": 150,"author": {"id": "user123","name": "Tech Enthusiast","url": "https://facebook.com/techuser","profile_picture_url": "https://facebook.com/profile.jpg"},"image": {"uri": "https://facebook.com/image.jpg","height": 720,"width": 1280,"id": "img123"},"video": null,"attached_post_url": null}]
βοΈ Input Configuration
Parameter | Type | Description | Default | Required |
---|---|---|---|---|
query | string | Search term (e.g., "technology", "climate change") | - | β |
max_posts | integer | Maximum posts to collect (1-10,000) | 50 | β |
start_date | string | Start date (YYYY-MM-DD format) | - | β |
end_date | string | End date (YYYY-MM-DD format) | - | β |
recent_posts | boolean | Focus on recent posts | true | β |
search_type | string | Search type (currently "posts") | "posts" | β |
Example Input:
{"query": "artificial intelligence","max_posts": 500,"start_date": "2025-01-01","end_date": "2025-01-31","recent_posts": true,"search_type": "posts"}
π Performance & Scalability
- Handles 10,000+ posts with infinite scroll
- Memory efficient - processes posts in batches
- Rate limit compliant - built-in delays prevent blocking
- Fault tolerant - handles network issues and retries
- Progress tracking - real-time logging for long jobs
Performance Metrics:
- ~100 posts per minute (varies by content)
- Memory usage: <500MB for 1000 posts
- Success rate: >95% for typical queries
π Troubleshooting
Common Issues:
No posts found:
- Verify the search query works on Facebook manually
- Check if the account has access to the content
- Ensure date ranges include available posts
Rate limiting:
- Reduce max_posts or add delays
- Use different Facebook account
- Run during off-peak hours
π Advanced Usage
Large Scale Scraping:
{"query": "climate change","max_posts": 5000,"recent_posts": true}
Brand Monitoring:
{"query": "your_brand_name","max_posts": 200,"recent_posts": true}
π Privacy & Compliance
- Respects Facebook's robots.txt
- Implements proper rate limiting
- Uses public data only
- Includes user agent identification
- Follows ethical scraping practices
π Webhook Integration Support
π Do you want webhook integration? This actor fully supports webhooks, allowing you to automatically receive the scraped data via your own API endpoint once the crawl is complete.
βοΈ Automated Workflow:
π Schedule β βΆοΈ Run Actor β π Scrape Facebook Posts β π€ Call Your API via Webhook
Ideal for market research, social media trend analysis, content monitoring, and competitive intelligence. Trusted by businesses, data analysts, and developers who need structured, scalable access to Facebook post data.
π Try it now on Apify: https://console.apify.com/actors/P1ftsGcNuXmD4HHHY/
π€ Support
For issues, questions, or feature requests:
- Check the troubleshooting section above
- Review Apify Actor logs for error details
- Contact support with specific error messages
Ready to scrape Facebook posts at scale? Deploy this actor and start collecting valuable social media data today! π
On this page
Share Actor: