Actions24
- User Actions
- Publish Actions
- Media Actions
- Comment Actions
- Messaging Actions
- Auth (Token) Actions
Comment → Enable / Disable on Media
AI-generatedSummary
Enable or disable comments on a specified Instagram media item by sending its ID and the desired comments setting to the Instagram Graph API.
Inputs
- Media ID (required) — The ID of the media whose comments setting to change.
- Comments Enabled — Set to true to enable comments or false to disable them; defaults to true.
- Graph API Version — API version for the graph.instagram.com request; defaults to v21.0.
- Access Token (Override) — Optional token used instead of the configured Instagram Login API credential. Supports expressions for selecting a token from input data.
Output shape
A single item containing the Instagram Graph API response for the update.
The node sends a POST request for each input item to /{version}/{mediaId} with comment_enabled set to the selected boolean. Errors stop execution unless Continue On Fail is enabled, in which case the item contains an error field.