SocialAPIs icon

SocialAPIs

Access public data from major social platforms

Facebook Post → Get Post Comments

AI-generated

Summary

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

Inputs

  • postLink (required) — The Facebook post or reel URL
  • limit — Maximum number of comments to return; must be at least 1
  • additionalFields — Optional fields to include in the response, such as pagination cursor or reply info
  • requestOptions — Additional HTTP request options like batch settings, proxy, or timeouts
  • allowUnauthorizedCerts — Whether to ignore SSL certificate errors
  • proxy — HTTP proxy URL to use for the request
  • timeout — Request timeout in milliseconds

Output shape

an array of comment objects

Each comment includes text, author, timestamp; pagination via optional end_cursor; can include reply info via include_reply_info

Examples

Example 1: Retrieve comments from a public post for display in a workflow

postLink set to https://www.facebook.com/post/12345; limit=20; additionalFields includes end_cursor

Example 2: Fetch comment replies with extra info

postLink set; include_reply_info=true; additionalFields includes end_cursor

Links

Discussion