Facebook Post Comments Scraper
by easyapi
Need to see what people are really saying on Facebook? This scraper pulls all the comments from any public post, giving you the raw data for your anal...
Opens on Apify.com
About Facebook Post Comments Scraper
Need to see what people are really saying on Facebook? This scraper pulls all the comments from any public post, giving you the raw data for your analysis. I use it to grab the comment text, who posted it, and exactly when it was posted. Itβs perfect for when you're doing social listening, running sentiment analysis, or just need to gather public opinions for market research. Instead of manual copying or dealing with Facebook's limitations, you set the post URL and let it run. You'll get a clean dataset with all the public comments, ready for a spreadsheet or your analysis tools. The setup is straightforward. You plug in the target post URL, configure your run, and the actor handles the rest, navigating the page to collect every available comment. The output is structured and consistent, which saves hours of tedious work. If you need to understand audience reactions, track brand mentions, or collect feedback at scale, this is the tool that gets you the data.
What does this actor do?
Facebook Post 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 Post Comments Scraper Effortlessly extract comments from any public Facebook post. ## Features - π Scrape comments from any public Facebook post URL - π Extract detailed information about each comment and commenter - π’ Set a custom limit for the number of comments to scrape - π Uses browser automation to handle dynamic content - π‘οΈ Incorporates anti-detection measures for reliable scraping ## Description The Facebook Comments Scraper is a powerful tool designed to automate the process of extracting comments from public Facebook posts. It navigates through the comments section, scrolling and loading more content as needed, to collect comprehensive information about each comment and its author. ## Input Parameters | Field | Type | Description | | --- | --- | --- | | postUrls | Array | List of Facebook post URLs to scrape comments from | | maxComments | Integer | Maximum number of comments to scrape for each post (default: 100, max: 5000) | ## Output The actor provides detailed information for each comment, including: - postUrl: The Post URL - id: Unique identifier for the comment - feedbackId: Feedback identifier associated with the comment - userName: Name of the comment author - userGender: Gender of the comment author - userProfileImageUrl: URL of the author's profile picture - userUrl: URL to the author's Facebook profile - userId: Unique identifier for the comment author - userIsVerified: Boolean indicating if the user is verified - userSubscribeStatus: Subscription status of the user - commentText: The actual text content of the comment - commentDate: Timestamp of when the comment was posted (formatted as yyyy-MM-dd HH:mm:ss) - facebookUrl: URL of the Facebook post where the comment appears This comprehensive data allows for in-depth analysis of comments and user interactions on Facebook posts. ## Use Cases - Social media analysis: Gather insights from user comments on popular posts - Sentiment analysis: Collect data for analyzing public opinion on specific topics - Market research: Understand customer feedback and reactions to products or announcements - Trend spotting: Identify emerging topics and discussions within comment threads - Community engagement: Monitor and analyze user interactions on your own posts ### Input Example A full explanation of an input example in JSON. { "postUrls": [ "https://www.facebook.com/humansofnewyork/posts/pfbid023TQobFe3VzSt9xUUF8RuLgSHXLar7W1yuf8SVKbi7mizhydEmj3av6mVda3QHKWnl?rdid=4g9xxnMySOyqm6iM", "https://www.facebook.com/747039650800537/posts/825976249573543" ], "maxComments": 100 } ### Output sample The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above: And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML. [ { postUrl: "https://www.facebook.com/humansofnewyork/posts/pfbid023TQobFe3VzSt9xUUF8RuLgSHXLar7W1yuf8SVKbi7mizhydEmj3av6mVda3QHKWnl?rdid=4g9xxnMySOyqm6iM", "id": "Y29tbWVudDoxMDE1NzcyNzQ2NzgwMzgxXzEyMTM5NDA4ODk2NTYwNTk=", "feedbackId": "ZmVlZGJhY2s6MTAxNTc3Mjc0Njc4MDM4MV8xMjEzOTQwODg5NjU2MDU5", "userName": "Eyad Yousif", "userGender": "MALE", "userProfileImageUrl": "https://scontent-ams4-1.xx.fbcdn.net/v/t39.30808-1/346882490_3448567935415083_8378378714079836093_n.jpg?stp=dst-jpg_s100x100&_nc_cat=105&ccb=1-7&_nc_sid=0ecb9b&_nc_ohc=KIZA1GzPKG0Q7kNvgGX9z9n&_nc_ht=scontent-ams4-1.xx&_nc_gid=AA1C_l38FdAypiXxa7dJR3H&oh=00_AYAkaN8a_W4c0rpp5WnMhAUC8nfPL8wqhU1Zbz_CxrOjuw&oe=6709927E", "userUrl": "https://www.facebook.com/eiad.yousif", "userId": "100000294039465", "userIsVerified": false, "userSubscribeStatus": "CAN_SUBSCRIBE", "commentText": "π Hey everyone! π\nIf you're into health, fitness, and living your best life, come check out my YouTube channel! π₯ I share easy tips, fun workouts, and healthy recipes that can transform your routine. Join our community, subscribe, and letβs grow together on this journey to a fitter, happier lifestyle! πͺπ\nHereβs the link to my channel: [https://www.youtube.com/@FitLifeJourney-y6n/shorts]\n\nDon't forget to like, comment, and subscribe to support the channel. Every bit of love helps, and I appreciate you all! ππ", "commentDate": "2024-10-05 11:57:18", "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid023TQobFe3VzSt9xUUF8RuLgSHXLar7W1yuf8SVKbi7mizhydEmj3av6mVda3QHKWnl" }, { "postUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid023TQobFe3VzSt9xUUF8RuLgSHXLar7W1yuf8SVKbi7mizhydEmj3av6mVda3QHKWnl?rdid=4g9xxnMySOyqm6iM", "id": "Y29tbWVudDoxMDE1NzcyNzQ2NzgwMzgxXzQ3OTU4MDMyMTExNTE1OQ==", "feedbackId": "ZmVlZGJhY2s6MTAxNTc3Mjc0Njc4MDM4MV80Nzk1ODAzMjExMTUxNTk=", "userName": "Marissa Brake", "userGender": "FEMALE", "userProfileImageUrl": "https://scontent-ams2-1.xx.fbcdn.net/v/t1.6435-1/36268638_10216302734987149_541928021242675200_n.jpg?stp=dst-jpg_s100x100&_nc_cat=108&ccb=1-7&_nc_sid=e4545e&_nc_ohc=rLD6bdK__p8Q7kNvgH_AQWE&_nc_ht=scontent-ams2-1.xx&_nc_gid=AA1C_l38FdAypiXxa7dJR3H&oh=00_AYA0LVVlKtEWKQTGOJq1ipyILKryFeqL7gtA3tCiwogA6A&oe=672B5C30", "userUrl": "https://www.facebook.com/marissa.gonzalesperez", "userId": "1417122595", "userIsVerified": false, "userSubscribeStatus": "CANNOT_SUBSCRIBE", "commentText": "The excitement when I saw HONY pop up- I have truly missed your posts! \nBoth of them are beautiful! \nHoping this is the beginning of more to come!!! π©·", "commentDate": "2024-06-11 00:36:33", "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid023TQobFe3VzSt9xUUF8RuLgSHXLar7W1yuf8SVKbi7mizhydEmj3av6mVda3QHKWnl" }, ... ]
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 Post Comments Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- easyapi
- Pricing
- Paid
- Total Runs
- 11,951
- Active Users
- 737
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