Introducing the Instagram APIRead more →

Facebook Comment Replies API. Replies, page by page.

Thread under a comment, both levels. We handle the proxies, blocks and platform changes.

Facebook Comment Replies API at a glance

Returns the replies to one comment on a public Facebook post, photo, video or reel, oldest first, replies to replies included. Each reply has its text, time, permalink, the comment it answers, exact reaction count with the reactions by type, attached photo and whether the post's author wrote it, and the replier's ID, name, profile link, picture and verified badge. Send the comment's link from the Facebook Comments API, or the post's link and the comment's ID.

GET /v1/facebook/replies

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 16 typed fields null when unknown
  • 10 replies per page, oldest first
  • url is all it needs, e.g. https://www.facebook.com/cnn/posts/pfbid034UhZgwWAxAbbbqcVT6TLJQz9aGu17AWYtaZib2nUzN6ueQKyvyoBSJ1Ao4R7Aibzl?comment_id=1134072982431001

Send one request. Get up to 10 replies back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.facebook.com/cnn/posts/pfbid034UhZgwWAxAbbbqcVT6TLJQz9aGu17AWYtaZib2nUzN6ueQKyvyoBSJ1Ao4R7Aibzl?comment_id=1134072982431001
GET /v1/facebook/repliesTry in
const params = new URLSearchParams({
  comment_id: "2241840356745830",
  url: "https://www.facebook.com/cnn/posts/pfbid034UhZgwWAxAbbbqcVT6TLJQz9aGu17AWYtaZib2nUzN6ueQKyvyoBSJ1Ao4R7Aibzl",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/replies?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/repliesLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 9 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The comment's link, as the Facebook Comments API returns it in data[].url: the post, photo, video or reel link with ?comment_id= (a reply's link, with reply_comment_id too, reads the thread it is in).

  • Write one parser

    Facebook, TikTok, Instagram and 6 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native comment ID (string; Reddit with its t1_ prefix).
post_idstring
ID of the post commented on (equals post.id).
parent_idstring
ID of the comment this replies to; null for top-level comments.
urlstring
Permalink, when the platform has one.
textstring
Comment body as plain text.
authorobject
The commenting account. An account the platform no longer names (a deleted account) has a null id and username and the platform's label as display_name (Reddit: [deleted]).
published_atstring
When the comment was posted, RFC 3339 UTC. Where the platform shows only a relative time ("3 weeks ago"), the latest time that label allows (the fetch time minus the stated amount), listed in approximate_fields.

What teams build with the Facebook Comment Replies API.

  • Read the whole conversation under a comment

  • See how a brand answers its customers

  • Collect complete comment threads for research

Good to know before you build.

  • comment_id names a top-level comment. Facebook nests replies two deep, the list holds both levels, and each reply's parent_id names the comment or reply it answers.
  • A reply's link (with reply_comment_id) reads the thread it is in.
  • Oldest first, so until stops paging when it is reached.
  • A comment Facebook doesn't show on the post (deleted, hidden, or another post's) returns not_found. A private, limited or deleted post returns private_or_unavailable, as on the Facebook Post API.
  • When Facebook refuses its comment queries, a post's or photo's first page comes from the comment's own page, in Facebook's Most relevant view: some replies are filtered out (a meta.warnings items_omitted says so) and reply_count is null.
  • A video's or reel's page ignores which comment it is asked for, so only its first comment's replies can be read that way: any other returns upstream_error, to retry later, never not_found.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Comment Replies API.

More in the API reference.

Why are there fewer replies than the comment's reply_count?
Facebook's total includes replies it no longer shows logged out, such as removed or hidden ones. The list holds every reply Facebook serves, which can be none.
Where do I get a comment's link?
From the Facebook Comments API: each comment's url is its link, and its id is the comment_id.
How much does the Facebook Comment Replies API cost?
A page of up to 10 replies costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs