For the complete documentation index, see llms.txt. This page is also available as Markdown.

Manage comments

Read Instagram or Facebook comments, select the parent comment, and verify an authorized reply.

Blotato's comments API and MCP tools support Instagram and Facebook.

Prompt for your assistant:

Find comments on the posts I select, summarize them, and draft replies. When I ask you to send a reply, post it and verify its final status.

Find the post and comment

  1. Use an authenticated connection and an Instagram or Facebook account with comments enabled and the required permissions.

  2. Call blotato_list_posts to find the selected published post's Blotato ID.

  3. Call blotato_list_comments with the following shape. Replace the example postId with the returned ID.

{"postId": "123e4567-e89b-12d3-a456-426614174000", "limit": 50}
  1. Read items. If a cursor is returned and more results are needed, pass it with the same filters in the next call. A missing cursor marks the end.

  2. Select the intended comment. A reply's parent must be a top-level comment with status: "posted" on the same post. Replies to replies are not supported.

Send an approved reply

Call blotato_post_comment once with the user's approved text and IDs from the lookup:

{
  "postId": "123e4567-e89b-12d3-a456-426614174000",
  "parentCommentId": "123e4567-e89b-12d3-a456-426614174001",
  "text": "Thanks for your question. Registration closes on October 10."
}

Omit parentCommentId only when the user requested a new top-level comment. Do not omit it to bypass a reply error.

Save the returned comment id. Call blotato_get_comment with:

For REST, use GET https://backend.blotato.com/v2/comments?postId=PUBLISHED_POST_ID&limit=50, POST /v2/comments with the same reply JSON, and GET /v2/comments/RETURNED_COMMENT_ID. Include blotato-api-key: YOUR_API_KEY on every request and Content-Type: application/json on POST. URL-encode query values.

Completion and recovery

Returned status
Next action

posted

Report the reply as posted.

queued or processing

Read the same comment again. Do not send another reply.

failed

Stop and inspect errorCode and errorMessage.

deleted

Report the deleted state. Do not replace the comment without the user's request.

Use a client polling budget, such as 10-second intervals for up to 2 minutes. This is not a delivery-time guarantee. If still pending, retain the ID and report the pending state. After a send timeout with no ID, inspect recent comments before considering another write. If the outcome remains uncertain, stop rather than risk a duplicate reply.

Read Comments for plan access, retention, and platform restrictions.

An empty inbox after connecting is a sync question. Follow Inbox setup and timing before concluding the account has no comments.

Last updated