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
Use an authenticated connection and an Instagram or Facebook account with comments enabled and the required permissions.
Call
blotato_list_poststo find the selected published post's Blotato ID.Call
blotato_list_commentswith the following shape. Replace the examplepostIdwith the returned ID.
{"postId": "123e4567-e89b-12d3-a456-426614174000", "limit": 50}Read
items. If acursoris returned and more results are needed, pass it with the same filters in the next call. A missing cursor marks the end.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
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