Facebook Comments Scraper (Public Posts, Replies, Reactions) avatar

Facebook Comments Scraper (Public Posts, Replies, Reactions)

Pricing

from $1.10 / 1,000 comments

Go to Apify Store
Facebook Comments Scraper (Public Posts, Replies, Reactions)

Facebook Comments Scraper (Public Posts, Replies, Reactions)

Comments on public Facebook posts with no login: text, time, reactions and reply count for each comment, the author's public name and profile link, and replies when Facebook attaches them. Covers the comments Facebook shows a logged-out visitor, plus each post's totals. $2.00 per 1,000 comments.

Pricing

from $1.10 / 1,000 comments

Rating

0.0

(0)

Developer

locaihost data

locaihost data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Give it links to public Facebook posts. You get one row per comment: the text, when it was written, its reaction count, how many replies sit under it, and the author's public name and profile link. Replies come as their own rows, marked with the comment they answer. No Facebook account, no cookies, no login.

What does it return?

Three kinds of row in one dataset, told apart by the type field:

  • comment rows: one per comment or reply on the post
  • status rows (free): one for each input that could not be read, saying why
  • a summary row (free): totals, comments per post and the comments with the most reactions

Every comment row carries the post it belongs to, the Page that posted it, and a link that opens the comment right on the post.

How do I use it?

  1. Paste links to public posts under Facebook posts, one per line.
  2. Set how many comments you want per post (30 by default) and whether replies are included (yes by default).
  3. Start the run. Rows appear in the dataset as each post is read.

Example input:

{
"postUrls": ["https://www.facebook.com/NASA/posts/pfbid02wE2bnKacnW5rQtZJwEjZZyVqXxoZ5NWakfbiznAPBtYxHDrAT8D8uJzt1GB928onl"],
"maxCommentsPerPost": 100,
"includeReplies": true,
"onlyNew": true
}

You can also paste whole Page links (under Pages instead of single posts) and the run reads the newest posts of each Page and collects their comments. Both inputs can be used in one run.

Links to posts on public Pages in any of the usual forms: facebook.com/PageName/posts/..., permalink.php?story_fbid=..., photos, videos, reels, watch/?v=..., fb.watch/... and share/... links. Plain m.facebook.com and mbasic.facebook.com forms work too.

Personal profiles, groups, events and Marketplace are not supported. They get a free status row that says so, and nothing is charged for them. A link to a whole Page pasted under posts is read as that Page's newest posts, not refused.

How many comments do I get per post?

Here is the honest limit of reading Facebook logged out: a post page hands a visitor one ranked window of about ten comments per request, and Facebook decides which comments are in it. The Actor asks for the post's comment dialog directly and returns as much of that window as it can, up to your limit. The post's full comment count, as Facebook states it, always comes on every row and in the summary, and the summary names the posts where Facebook's window held fewer comments than the post has.

So a post with 2,000 comments usually returns its top-ranked window, not all 2,000, and the run says so plainly rather than pretending otherwise. Reading a whole post's history needs a tool that logs in, which this one deliberately is not.

Can I choose newest first instead of most relevant?

No. Facebook's logged-out comment window comes in Facebook's own ranked order, and the order cannot be switched from outside an account. Every row keeps the position it came at, and the summary shows the oldest and newest comment returned, so you can sort by time yourself once the rows are out.

Can I get only comments I have not seen before?

Yes. Turn on Only comments not returned before. The run remembers which comments it returned for the same list of posts and Pages and leaves them out next time, so a daily schedule brings only what is new. The memory is kept in your own account and is separate for each list of posts. Comments skipped this way are never charged.

Does it need my Facebook login or cookies?

No. It reads what Facebook shows any logged-out visitor. You never enter an account, a password or cookies, and it never creates accounts.

What does each row contain?

FieldWhat it is
typecomment for these rows; status and summary rows have their own fields
postUrlThe post link this comment sits on
postIdFacebook's id for the post
pageNameName of the Page that posted it
commentIdFacebook's numeric comment id, the one its own comment links use
commentUrlLink that opens this comment on the post
textThe comment text, empty when the author deleted it
createdAtWhen the comment was written, in ISO format (UTC)
authorNameThe author's public display name
authorUrlThe author's public profile link
reactionCountReactions on the comment, when Facebook shows them
replyCountReplies under the comment, Facebook's own count
isReplytrue when this row is a reply to another comment
parentIdThe parent comment's id, for replies
scrapedAtWhen this row was read

Status rows carry type, input, url, status, message and scrapedAt. The summary row carries type, postsRead, postsNotRead, comments, replies, commentsByPost, topCommentsByReactions, oldestCommentAt, newestCommentAt, postsAtWindowLimit, skippedSeenBefore and scrapedAt.

Which rows are free?

Status rows and the summary row are never charged. Only comment rows (replies included) are paid, one each. A post that returns nothing costs nothing.

How much does it cost?

$2.00 per 1,000 comment rows ($1.50 on Scale, $1.10 on Business), charged as one paid event per row, plus the usual start charge when a run begins. The run stops cleanly at 90 percent of your maximum charge and keeps everything read so far, and a run that returns nothing is never charged for rows.

Free Apify plan: up to 200 rows per run. Any paid Apify plan removes the limit.

What happens when Facebook blocks a request?

Facebook sometimes answers a logged-out visitor with a login wall or an empty answer. The Actor then starts a fresh session and tries again, up to three times per post. If a post still will not load, you get a free status row for it, the other posts carry on, and you can re-run just that post later.

What do the status rows mean?

statusmeaning
not-foundThe post does not exist or is not public
unsupportedA group, event, Marketplace or personal-profile link, which is not supported
blockedFacebook kept asking for a login for this post; try it again later
no-commentsThe post was read but showed no comments to a logged-out visitor

Will input saved for another comment tool work?

Fields named startUrls, resultsLimit or includeNestedComments are accepted where you would paste postUrls, maxCommentsPerPost or includeReplies, so old task input can be pasted in without edits.

The Actor reads public posts the same way a logged-out browser does, and only what is public on them: comment text, counts, and each author's public name and profile link. It never logs in, never collects passwords or private messages, and never returns anyone's email, phone number or address. Comments are personal data in most jurisdictions: you are responsible for having a lawful reason to collect and keep them, and for following the rules that apply to you, including Europe's General Data Protection Regulation where it applies, and Facebook's own terms.

Can I use it from my own code or an agent?

Yes. Run it through the Apify API or any Apify client, or connect it as a tool through the Apify MCP server. The input is plain JSON and every row has a type field, so you can filter rows easily. The dataset has a Comments view and a Summary view.

Something is missing or broken. What should I do?

Open an issue on the Issues tab with the post link and what you expected. Facebook changes its pages often; reports help get fixes out fast.