Facebook Posts/Comments Scraper avatar

Facebook Posts/Comments Scraper

Try for free

2 hours trial then $25.00/month - No credit card required now

Go to Store
Facebook Posts/Comments Scraper

Facebook Posts/Comments Scraper

alien_force/facebook-posts-comments-scraper
Try for free

2 hours trial then $25.00/month - No credit card required now

Facebook Post Scraper with Comments extracts Facebook post details, including text, author info, likes, shares, and media. It also scrapes comments with user details, engagement metrics, and timestamps. Ideal for social media monitoring, sentiment analysis, and audience insights.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • No reviews yet

  • 1 bookmark

  • Created in Mar 2025

  • Modified 4 hours ago

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:

1{
2    "post_urls": [
3        {
4            "url": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02reBdcEgYdgLLP92A7ZJ6KLPcNq3LHha9TjYi2k2ytbeS2q2rxkhCqAWy2m6j3TkRl"
5        }
6    ],
7    "comments_limit": 5,
8    "min_wait_time_in_sec": 1,
9    "max_wait_time_in_sec": 4,
10    "cookies": []
11}

📤 Output Schema

The output will be an array of scraped posts and comments in the following JSON format:

1{
2    "input": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02reBdcEgYdgLLP92A7ZJ6KLPcNq3LHha9TjYi2k2ytbeS2q2rxkhCqAWy2m6j3TkRl",
3    "author": null,
4    "post_id": "623731507071105",
5    "action_id": "ZmVlZGJhY2s6NjIzNzMxNTA3MDcxMTA1",
6    "text": "The Witcher ⚔️ Season 4 2025",
7    "create_time": 1739523981,
8    "post_url": "https://www.facebook.com/thewitcherfanclub/posts/pfbid02rx7CsmHhurFSpK1W7NY6p9YGRZbY2s1W2ZsqX5MstidN9zaM2ToHJexKJ2EkfyDwl",
9    "like_count": 15443,
10    "comment_count": 647,
11    "share_count": 629,
12    "view_count": 0,
13    "play_count": 0,
14    "image_list": [
15        "https://scontent.xx.fbcdn.net/v/t39.30808-6/484004189_645200288257560_5160343900984361714_n.jpg?_nc_cat=109..."
16    ],
17    "video_list": [],
18    "video_cover_image": [],
19    "durationInSec": [],
20    "type": "post",
21    "author_username": "The Witcher Memes",
22    "author_user_id": "100083027845965",
23    "author_profile_url": "https://www.facebook.com/thewitcherfanclub",
24    "author_avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/406119461_334626885981570_415774568726704799_n.jpg...",
25    "comments": [
26        {
27            "action_id": "ZmVlZGJhY2s6NjIzNzMxNTA3MDcxMTA1XzU2NzAzMTAzNjQwNDAxNQ==",
28            "comment_id": "567031036404015",
29            "gender": "UNKNOWN",
30            "author_user_id": "100085673556681",
31            "author_username": "komene Rika Ng duwur kaeh",
32            "author_profile_url": "https://www.facebook.com/profile.php?id=100085673556681",
33            "author_avatar": "https://scontent.xx.fbcdn.net/v/t39.30808-1/305486963_102029662662819_8054562118169563942_n.jpg...",
34            "text": "Totally loved this film from start to finish...",
35            "like_count": 9,
36            "reply_count": 3,
37            "create_time": 1739803304,
38            "image_list": [],
39            "video_list": [],
40            "video_cover_image": []
41        }
42    ]
43}