Facebook Comments Scraper avatar
Facebook Comments Scraper

Pricing

Pay per event

Go to Store
Facebook Comments Scraper

Facebook Comments Scraper

scraper_one/facebook-comments-scraper

Developed by

Scraper One

Maintained by Community

Extract comments from Facebook posts provided as input URLs. Retrieve comment text, authors, timestamps, reactions, and more. Ideal for social media monitoring, sentiment analysis, and engagement tracking. 🚀

0.0 (0)

Pricing

Pay per event

0

Monthly users

13

Runs succeeded

89%

Last modified

9 hours ago

Apify Actor

This Apify Actor extracts comments from Facebook posts provided as input URLs. It retrieves comment text, authors, timestamps, reactions, and more. This tool is ideal for social media monitoring, sentiment analysis, and engagement tracking. 🚀

Features

  • 🔍 Scrape comments from multiple posts
  • 👥 Extract author details and profile URLs
  • 📅 Retrieve timestamps and reactions
  • 🔢 Limit the number of comments per post

Input Parameters

ParameterTypeRequiredDescription
postUrlsstring[]Array of Facebook post URLs to extract comments from.
resultsLimitnumberMaximum number of comments per post (optional).

Example Input

1{
2  "postUrls": [
3    "https://www.facebook.com/fanpage.TECHART/posts/pfbid0ZYMHCBMGHHQ9W98d9goZ4VpxTeLJSxsZGLfa2V2qbdH6jUyLEUubNTtU7joTi2vVl"
4  ],
5  "resultsLimit": 50
6}

Output Data

The actor returns an array of JSON objects with extracted comments data.

Example Output

1[
2  {
3    "commentText": "George Kittle must've had a word with the GM",
4    "id": "Y29tbWVudDoxMTg2ODEyNDY5NDgyMjc1XzY2ODE2MzY0NTU0NjI3Mg==",
5    "legacyId": 668163645546272,
6    "timestamp": 1742045152000,
7    "url": "https://www.facebook.com/NFL/posts/pfbid023uiL1TJbp9QxWuCXSR3JamtrXev9LGDNHnpQAuf1dr6kU7Em8hU3oLms5mb4KZQhl?comment_id=668163645546272",
8    "author": {
9      "id": "pfbid027qk7JdC2FUy2SHN9PQ1uQrPUAwaSaKVCTNFD6KeN9GRfdw7n4C5k3w6naCtYseQZl",
10      "profilePictureUrl": "https://scontent.fpoz3-1.fna.fbcdn.net/v/t39.30808-1/484832087_2619507948255427_8811130316462776878_n.jpg?stp=cp6_dst-jpg_s50x50_tt6&_nc_cat=107&ccb=1-7&_nc_sid=e99d92&_nc_ohc=8WugMfDPwGAQ7kNvgFARVYa&_nc_oc=Adk98TB_DjhE7FBLYrhYQSa1s9-iOs0bcnRyTpUO3H0SMbziMMFJu-GYw9xqkuy1ZFE&_nc_zt=24&_nc_ht=scontent.fpoz3-1.fna&_nc_gid=bRJ5zIIdp6dC4pjPIysFaA&oh=00_AYEDOB5Oa9JFPYnAZ2uN6tk-WjfJ34PmbS1pY4e13oWLbw&oe=67E0EC7E",
11      "name": "Zack Crouch"
12    },
13    "postUrl": "https://www.facebook.com/NFL/posts/pfbid037dWXDmChUtBRycRAoowDn6oSsv5Qjnr5ZC4tbAYGTtPeJuWGS27JgqsdpjdR1Hwzl",
14    "reactions": {
15      "like": 178,
16      "love": 8,
17      "haha": 4,
18      "support": 1
19    },
20    "reactionsCount": "191"
21  }
22]
Let me know if you need additional output fields! 🤙

Usage

  1. Create an Apify account and navigate to the actor.
  2. Configure input parameters in the Apify UI or via API.
  3. Run the actor and monitor execution logs.
  4. Download extracted comments as JSON, CSV, or Excel.

Limitations & Notes

  • Scraping Facebook data must comply with their Terms of Service.
  • Avoid excessive scraping to prevent IP bans.
  • The accuracy of data depends on Facebook’s page structure and visibility settings.

Works Best With

For the best results, use this scraper alongside Facebook Posts Search.

Before extracting comments, you can use the Facebook Posts Search actor to gather post URLs based on specific keywords. Then, pass those URLs into this Facebook Comments Scraper to collect comments associated with those posts. ✅ Best Use Case Scenario

  • Run Facebook Posts Search Scraper → Collect posts based on your search criteria.
  • Feed post URLs into Facebook Comments Scraper → Extract comments for each post.
  • Gain complete insights → Combine posts and comments for a full dataset, useful for engagement analysis, sentiment tracking, and social media monitoring.

This combination provides a powerful way to analyze conversations happening around specific posts! 🚀

Support & Contact

✉️ If you encounter issues or need help, feel free to open an issue or contact us at scraper1one@gmail.com.

Pricing

Pricing model

Pay per event 

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.

Initialize actor

$0.003

Set up actor prerequisites

Result item

$0.000

Result item