Facebook Comments API
Changed onFacebook 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.
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
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).
Post feedback id from /v1/facebook/details (base64 feedback:POSTID). Prefer when you already have it — also accepts feedback_id.
Max items to return (default 50, max 500). Flat 2 credits per call.
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.
Changes
- breaking
the
///response's property type changed fromobjectto 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
- breaking