Facebook

Facebook Comments API

Changed on

Facebook post comments with reactionCount, reactions.like when mixed, author.id (pfbid), and replyCount.

Pass a post/Reel URL or feedbackId (from /v1/facebook/details) and get top-level comments as clean JSON. reactionCount is the mix total. reactions{} is included only when Facebook exposes a real multi-type mix — likes are reactions.like, not a likeCount twin (that field used to hold the total and is gone). Unused types are omitted, not zeroed. author is an object with stable id (pfbid or numeric), name, shortName, gender, url, and avatarUrl when exposed. replyCount and hasMore are included for threading/loops. A Reel URL returns the comment preview Facebook shows logged-out for that video (usually a few top comments). When Facebook returns no comments this time the call is a retryable 503 UPSTREAM_UNAVAILABLE at 0 credits; input that is not a Facebook URL is 400. Rows with signed CDN media (avatars) carry mediaUrlsExpireAt. Flat 2 credits. Prefer feedbackId when you already fetched details.

Docs: https://captapi.com/apis/facebook-comments

get/v1/facebook/comments

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/facebook/comments
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring

Facebook post or Reel URL. Omit when feedbackId is set. The URL platform must match this endpoint's platform. A page/profile URL also works: Facebook renders the page's most recent post first, so you get that post's comments (each comment's url names the actual post).

feedbackIdstring

Post feedback id from /v1/facebook/details (base64 feedback:POSTID). Prefer when you already have it — also accepts feedback_id.

limitinteger

Max items to return (default 50, max 500). Flat 2 credits per call.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

    • breaking

      the /// response's property type changed from object to no type for status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • info

      added the optional property /// to the response with the status