hide_comment
Hide or unhide an Instagram comment to moderate spam or abuse reversibly; preview with confirm=false, then apply after approval.
Instructions
Hide (or unhide) a comment on the user's media. Reversible.
Hidden comments disappear for everyone except their author. Prefer this over delete_comment for spam or abuse, since it can be undone with hide=false. ALWAYS call with confirm=false first to get a preview (nothing is sent), and only call with confirm=true after the user approves.
Args: comment_id: The comment to hide or unhide (from get_media_comments). hide: true to hide (default), false to unhide. confirm: false = preview only (default); true = actually do it.
Returns: executed (false for previews), summary and success. Limits: comments the account owner wrote on their own media always stay visible. Hidden comments no longer appear in get_media_comments, so tell the user the comment_id if they may want to unhide it later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hide | No | ||
| confirm | No | ||
| comment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| action | Yes | ||
| message | No | Exact reply text | |
| request | Yes | The Graph API call that is (or would be) made | |
| success | No | ||
| summary | Yes | ||
| executed | Yes | False = preview only; nothing was sent to Instagram | |
| reply_id | No | ID of the created reply | |
| comment_id | Yes |