Facebook Comments Scraper
by powerful_bachelor
Scrape comments, likes, and timestamps from public Facebook posts for sentiment analysis and research. Export data to JSON, CSV, Excel, or HTML.
Opens on Apify.com
About Facebook Comments Scraper
Need to pull real, structured data from Facebook comments for a project? I've used this scraper to collect comments from public posts, and it handles the messy stuff so you don't have to. It grabs the actual comment text, counts how many likes and replies each one has, and pulls the timestamp—all the details you need to understand the conversation. I've found it super useful for a few things: getting a genuine read on public sentiment about a topic, tracking how people engage with influencers or brands, or just spotting early trends in discussions. You get clean, organized data out of it, which is a relief compared to manual copying. When your run is done, you can grab the results in whatever format fits your workflow: JSON for your app, CSV for spreadsheets, Excel for reports, or even HTML for a quick visual. It's a straightforward tool that does one job well, saving you hours of manual work.
What does this actor do?
Facebook Comments Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Facebook Comments Scraper
Overview
This Apify actor scrapes public Facebook posts to extract comments and their engagement data. It outputs structured data for analysis, useful for sentiment tracking, market research, or academic studies. The actor is automated and scalable, requiring no manual browser interaction.
Key Features
- Comment Data: Extracts full comment text, including emojis.
- Author Information: Provides commenter ID and public profile link when available.
- Timestamps: Outputs exact UNIX timestamps for temporal analysis.
- Engagement Metrics: Captures
likes_count,reply_count, and anis_live_video_commentflag. - Export Formats: Results can be downloaded as JSON, CSV, Excel, XML, or HTML via Apify storage.
How to Use
- Get the actor from the Apify Store.
- Configure your input (see below).
- Run the actor. The scraped data will be available in the actor's dataset for export.
Input/Output
Input Configuration (INPUT.json):
{
"maxResults": 40,
"startUrls": ["https://www.facebook.com/Cristiano/posts/10161345601032164"]
}
startUrls: An array of public Facebook post URLs to scrape.maxResults: (Optional) Limits the total number of comments to scrape.
Output Example:
Each comment is returned as an item in the dataset with the following structure:
{
"comment_id": "17938403948273912",
"feedback_id": "1837320198273947",
"commentor_id": "1000123456789",
"comment_text": "This goal was insane ",
"author": {
"name": "John Doe",
"url": "https://facebook.com/johndoe"
},
"created_time": 1719814023,
"is_live_video_comment": false,
"likes_count": 235,
"reply_count": 12
}
Feedback & Support
For bug reports or feature requests, please open an issue in the GitHub repository. Include the run ID or error message if available.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Facebook Comments Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- powerful_bachelor
- Pricing
- Paid
- Total Runs
- 149
- Active Users
- 16
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support