Dataslayer
Facebook

Facebook Comments & Replies Scraper

Extract public Facebook comments and replies from known post, Reel, video, photo, permalink, or supported share URLs. Export thread relationships, text, timestamps, public author details, engagement counts, and attachments to JSON or CSV.

runs · 30d
24
success · 30d
100.0%
runs all time
30
users · 30d
0
POST/v2/acts/data-slayer~facebook-comments-scraper/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~facebook-comments-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "postUrlsOrIds": [
      "https://www.facebook.com/example/posts/123456789012345"
    ]
  }'
each result row17 fields
{
  "postId": string,
  "postUrl": string,
  "commentId": string,
  "commentUrl": string,
  "parentCommentId": string,
  "rootCommentId": string,
  "depth": integer,
  "isReply": boolean,
  "text": string,
  "publishedAt": string,
  "likeCount": integer,
  "reactionCount": integer,
  "replyCount": integer,
  "author": object,
  // + 3 more fields
}

Output fields

17 documented fields per record. Showing the first 17.

FieldTypeDescription
postIdstring · nullable
postUrlstring · nullable
commentIdstring
commentUrlstring · nullable
parentCommentIdstring · nullable
rootCommentIdstring
depthinteger
isReplyboolean
textstring · nullable
publishedAtstring · nullable
likeCountinteger · nullable
reactionCountinteger · nullable
replyCountinteger · nullable
authorobject
attachmentsarray
requestedInputstring
retrievedAtstring

Related scrapers

Frequently asked questions

What does Facebook Comments & Replies Scraper return?+

Extract public Facebook comments and replies from known post, Reel, video, photo, permalink, or supported share URLs. Export thread relationships, text, timestamps, public author details, engagement counts, and attachments to JSON or CSV. It returns 17 documented fields per record.

How much does Facebook Comments & Replies Scraper cost?+

It is priced at $1.20 per 1,000 results (lowest tier), billed through your Apify account. Failed runs are not billed as results.

What format does the data come back in?+

Typed JSON records by default. You can also download a run's dataset as CSV or Excel, or stream it into your own stack.

How reliable is this scraper?+

Over the last 30 days it ran 24 times with a 100.0% success rate.

How do I run it?+

POST a JSON body to the actor's run endpoint with your Apify token, or open it on Apify and start a run from the console.

Run Facebook Comments & Replies Scraper on Apify

One request, structured rows back. Pay per result through your Apify account.