Instagram (Login) icon

Instagram (Login)

Use the Instagram API with Instagram Login (graph.instagram.com) - no Facebook Page required

Comment → Enable / Disable on Media

AI-generated

Summary

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.

Links

Discussion