Can I get comments and replies on a public Facebook post via API?

Yes. GET /facebook/posts/comments with the post's or reel's URL as link returns its public comments page by page, and with include_reply_info=true each comment carries the comment_feedback_id and expansion_token that GET /facebook/posts/comments/replies takes to return its replies.

Meta's official option

Meta's Graph API returns comments on posts of Pages you manage. Comments on other Pages' posts need Page Public Content Access (app review); comments in groups and on personal profiles aren't available through it.

Meta: Page Public Content Access ↗

How to do it with SocialAPIs

Comments: 1 credit per page, next page with end_cursor. Replies: 1 credit per call.

Fetch replies only for the comments you care about (for example those with replies), which keeps the call count low on busy posts.

Endpoints

  • GET /facebook/posts/comments1 credit

    Retrieve top-level comments from a Facebook post or reel.

    Params: link (required), end_cursor, include_reply_info

    Facebook Post Comments: docs and playgroundMCP: facebook_post → comments

  • GET /facebook/posts/comments/replies1 credit

    Fetch replies to a specific comment on a Facebook post. Requires comment_feedback_id and expansion_token obtained from the /facebook/posts/comments endpoint with include_reply_info=true.

    Params: comment_feedback_id (required), expansion_token (required)

    Facebook Post Comment Replies: docs and playgroundMCP: facebook_post → comment_replies

curl -G "https://api.socialapis.io/facebook/posts/comments" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "link=https://www.facebook.com/reel/1884897151992610/" \
  --data-urlencode "include_reply_info=true"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Use it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • Public posts only: comments on friends-only posts or in private groups aren't available.
  • Commenters' names are personal data: keep only what your analysis needs (GDPR in the EU and UK).
  • Instagram comments have no endpoint today.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-11-17

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).

Ask an AI about this page

Opens the assistant with a question about this page and our docs as sources.