Facebook Comments Scraper avatar

Facebook Comments Scraper

Pricing

from $1.20 / 1,000 results

Go to Apify Store
Facebook Comments Scraper

Facebook Comments Scraper

Extract comments from any public Facebook post, reel, or video. Get comment text, date, author name, profile link, reaction count, and reply count. Configure output fields, filter by date, sort results. Export as JSON, CSV, or Excel.

Pricing

from $1.20 / 1,000 results

Rating

0.0

(0)

Developer

Alexandre Manguis

Alexandre Manguis

Maintained by Community

Actor stats

1

Bookmarked

1

Total users

1

Monthly active users

19 hours ago

Last modified

Share

Extract comments from any public Facebook post, reel, or video — no account required.

Returns commenter name, profile link, comment text, date, reaction count, and reply count. Supports pagination, date filtering, sort order, and fully configurable output fields.


What it does

Provide one or more public Facebook post URLs. The scraper will retrieve all comments, paginate automatically until the requested limit is reached, and return structured data for each comment.

Works on posts, reels, videos, and photo posts from public pages and profiles.


Output fields

All fields are optional and can be enabled or disabled individually in the input.

FieldAlways includedDescription
textFull comment text
idUnique comment identifier
feedbackIdInternal feedback object ID
commentsNested replies (when enabled)
dateoptionalISO 8601 timestamp
profileNameoptionalCommenter's display name
profileUrloptionalLink to commenter's profile
likesCountoptionalTotal reactions on the comment
commentsCountoptionalNumber of replies
commentUrloptionalDirect link to the comment
facebookUrloptionalCanonical post URL
postTitleoptionalPost title or text excerpt
inputUrloptionalThe URL you provided as input
facebookIdoptionalNumeric post ID

likesCount is the total of all reaction types (Like, Love, Haha, Wow, Sad, Angry) combined.


Input

Required

FieldDescription
startUrlsOne or more public Facebook post, reel, or video URLs

Optional

FieldDefaultDescription
resultsLimit100Max comments to extract per URL
viewOptionRANKED_UNFILTEREDSort order (see below)
includeNestedCommentsfalseAlso extract replies to top-level comments
onlyCommentsNewerThanDate filter (see below)

Sort order

ValueDescription
RANKED_UNFILTEREDMost relevant — Facebook's default
RANKED_THREADEDTop comments grouped with their replies
RECENT_ACTIVITYMost recently active threads first

Date filter

onlyCommentsNewerThan accepts:

  • Relative: 1 day, 2 weeks, 3 months, 1 year
  • Absolute: 2024-01-01 or 2024-06-15T12:00:00Z

Use RECENT_ACTIVITY sort when filtering by date.

Output fields (checkboxes)

Each output field can be toggled individually. All are enabled by default:

  • Date — comment timestamp
  • Author name — commenter's display name
  • Author profile URL — link to commenter's profile
  • Likes / reactions — total reaction count
  • Reply count — number of replies
  • Post URL & title — post context columns
  • Comment URL — direct link to the comment
  • Post ID — numeric Facebook post ID

Example input

{
"startUrls": [
{ "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl" }
],
"resultsLimit": 200,
"viewOption": "RANKED_UNFILTERED",
"includeNestedComments": false
}

Example output

{
"text": "This is one of my favorite stories to date.",
"date": "2021-08-15T20:01:24.000Z",
"profileName": "Judie Wilson",
"profileUrl": "https://www.facebook.com/profile.php?id=100004...",
"likesCount": "443",
"commentsCount": 8,
"comments": [],
"commentUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0B...?comment_id=481627996424606",
"facebookId": "6375219342552112",
"postTitle": "Humans of New York",
"facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbK...",
"inputUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbK...",
"id": "Y29tbWVudDo2Mzc...",
"feedbackId": "ZmVlZGJhY2s6..."
}

Supported URL formats

https://www.facebook.com/{page}/posts/{post_id}
https://www.facebook.com/{page}/posts/{pfbid}
https://www.facebook.com/reel/{reel_id}
https://www.facebook.com/{page}/videos/{video_id}
https://www.facebook.com/photo?fbid={photo_id}
https://www.facebook.com/permalink/story.php?story_fbid={id}&id={page_id}

Limits and notes

  • Public posts only. Private posts and posts requiring login are skipped.
  • No login required. Works entirely with public data.
  • For large comment sections (10 000+), use date filters to narrow scope.

Keywords

facebook comments scraper, facebook post comments, extract facebook comments, facebook comment extractor, scrape facebook comments, facebook comments api, facebook data extraction, facebook social media scraper, public facebook posts, facebook comment text, facebook commenter name, facebook commenter profile, facebook reactions count, facebook replies scraper, facebook post analysis, social media monitoring facebook, facebook audience insights, facebook engagement scraper, comment sentiment analysis, facebook marketing data, facebook page comments, facebook content scraper, facebook public data, facebook comment downloader, facebook post scraper