Facebook Posts/Comments Scraper

Facebook Posts/Comments Scraper

by alien_force

Need to understand what people are really saying on Facebook? This scraper pulls the full conversation from any public post, giving you the raw data f...

4,861 runs
375 users
Try This Actor

Opens on Apify.com

About Facebook Posts/Comments Scraper

Need to understand what people are really saying on Facebook? This scraper pulls the full conversation from any public post, giving you the raw data for deeper analysis. It grabs the post itselfβ€”text, images or videos, who posted it, plus all the engagement numbers like likes and shares. Then, it dives into the comments, collecting each one with the user's public details, reaction counts, and timestamps. You get a complete dataset in a structured format like JSON or CSV, ready for your database or spreadsheet. I use this for a few key things. It's perfect for tracking brand mentions or campaign performance directly from the source, going beyond the basic analytics Facebook provides. Researchers find it invaluable for sentiment analysis, seeing how audiences genuinely react to topics. It's also great for gathering public feedback on products or events, or for competitor analysis by monitoring their most engaging posts. Just point it at the URL of a public Facebook post, and it handles the rest. It's become a reliable way for me to move beyond guesswork and base decisions on actual public discourse from the platform.

What does this actor do?

Facebook Posts/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

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Facebook Post Scraper with Comments ## πŸ“Œ Introduction Facebook Post Scraper with Comments is a powerful and efficient Apify actor designed to scrape Facebook posts along with their comments. This tool allows you to extract valuable data, including post details, reactions, images, videos, and comments, helping you analyze engagement and user interactions. ## πŸš€ Key Features - πŸ” Scrape Facebook Posts – Extracts details such as text, author info, likes, comments, and shares. - πŸ’¬ Retrieve Post Comments – Collects user comments, including author details, engagement counts, and timestamps. - πŸ“Έ Media Extraction – Fetches images and videos attached to posts and comments. - ⏳ Customizable Wait Times – Set min/max wait times for requests. - πŸͺ Supports Cookies – Allows adding Facebook cookies for authenticated scraping. ## πŸ”— Use Cases - πŸ“ Social Media Monitoring – Analyze public discussions and trends. - πŸ“Š Brand Sentiment Analysis – Track reactions and engagement on brand posts. - πŸ† Influencer Research – Extract data from influencer posts and comments. - πŸ” Market Research – Gather insights on trending topics and audience behavior. ## πŸ”§ Input Schema The actor accepts the following JSON input structure: json { "post_urls": [ { "url": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02reBdcEgYdgLLP92A7ZJ6KLPcNq3LHha9TjYi2k2ytbeS2q2rxkhCqAWy2m6j3TkRl" } ], "comments_limit": 5, "min_wait_time_in_sec": 1, "max_wait_time_in_sec": 4, "cookies": [] } ## πŸ“€ Output Schema The output will be an array of scraped posts and comments in the following JSON format: json { "input": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02reBdcEgYdgLLP92A7ZJ6KLPcNq3LHha9TjYi2k2ytbeS2q2rxkhCqAWy2m6j3TkRl", "author": null, "post_id": "623731507071105", "action_id": "ZmVlZGJhY2s6NjIzNzMxNTA3MDcxMTA1", "text": "The Witcher βš”οΈ Season 4 2025", "create_time": 1739523981, "post_url": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02rx7CsmHhurFSpK1W7NY6p9YGRZbY2s1W2ZsqX5MstidN9zaM2ToHJexKJ2EkfyDwl", "like_count": 15443, "comment_count": 647, "share_count": 629, "view_count": 0, "play_count": 0, "image_list": [ "https://scontent.xx.fbcdn.net/v/t39.30808-6/484004189_645200288257560_5160343900984361714_n.jpg?_nc_cat=109..." ], "video_list": [], "video_cover_image": [], "durationInSec": [], "type": "post", "author_username": "The Witcher Memes", "author_user_id": "100083027845965", "author_profile_url": "https://www.facebook.com/thewitcherfanclub", "author_avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/406119461_334626885981570_415774568726704799_n.jpg...", "comments": [ { "action_id": "ZmVlZGJhY2s6NjIzNzMxNTA3MDcxMTA1XzU2NzAzMTAzNjQwNDAxNQ==", "comment_id": "567031036404015", "gender": "UNKNOWN", "author_user_id": "100085673556681", "author_username": "komene Rika Ng duwur kaeh", "author_profile_url": "https://www.facebook.com/profile.php?id=100085673556681", "author_avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/305486963_102029662662819_8054562118169563942_n.jpg...", "text": "Totally loved this film from start to finish...", "like_count": 9, "reply_count": 3, "create_time": 1739803304, "image_list": [], "video_list": [], "video_cover_image": [] } ] }

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 Posts/Comments Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
alien_force
Pricing
Paid
Total Runs
4,861
Active Users
375
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support