List Comments
list_commentsRetrieve comments from Facebook posts or Instagram media, including author IDs for direct messaging. Supports drilling into replies by providing a comment ID.
Instructions
List comments on a post (Facebook) or media (Instagram), including each author's ID — which doubles as the DM recipient ID for send_message or private_reply. Instagram results nest their replies; Facebook top-level comments carry a comment_count you can drill into by passing the comment ID back in as object_id. Passing a comment ID works on Instagram too — the tool falls back to the /replies edge and reports which edge answered. Works on both platforms with a plain Page token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Items per page (default: 25) | |
| order | No | Facebook only. Default is chronological. | |
| fields | No | Comma-separated fields. Platform-specific default. | |
| platform | No | Which platform the ID belongs to. Leave unset to auto-detect from the ID shape: Facebook IDs are compound ("{page}_{object}"), Instagram IDs are a flat run of digits. | |
| max_pages | No | Pages to auto-follow (default: 1) | |
| object_id | Yes | Post ID, media ID, or a comment ID to read its replies. |