Instagram Publish icon

Instagram Publish

Publicar Posts, Stories e Reels - Formato correto application/x-www-form-urlencoded

Instagram Publish

AI-generated

Overview

This node allows users to publish content to Instagram, supporting Posts (Feed), Stories, and Reels. It is useful for automating Instagram content publishing workflows, such as scheduling posts or integrating Instagram publishing into larger marketing automation processes. For example, a user can publish an image post to their Instagram feed, share a story with an image or video, or upload a reel video that optionally appears on the feed as well.

Use Case Examples

  1. Publishing a photo post to Instagram feed with a caption.
  2. Sharing an image or video story on Instagram.
  3. Uploading a reel video with a caption and optionally sharing it to the feed.

Properties

Name Meaning
📢 REQUISITOS Notice with requirements and instructions for using the node.
Tipo de ConteĂşdo Select the type of Instagram content to publish: Post (Feed), Story, or Reel.
⚠️ IMPORTANTE - VÍDEOS NO FEED Notice about API limitations for videos in feed posts, recommending using Reels for video content in the feed.
URL da Imagem (Story) Public HTTPS URL of the image (JPG/PNG) for story content when media type is image.
URL do VĂ­deo (Story) Public HTTPS URL of the video (MP4) for story content when media type is video (max 15 seconds).
URL da Imagem Public HTTPS URL of the image (JPG/PNG) for feed posts.
Legenda Caption text for the feed post.
Tipo de MĂ­dia Select media type for story content: Image or Video.
URL do VĂ­deo Public HTTPS URL of the video (MP4) for reel content.
Legenda do Reel Caption text for the reel.
Compartilhar no Feed Boolean option to also share the reel video on the feed.

Output

JSON

  • success - Indicates if the publishing operation was successful.
  • type - Type of content published: feed_post, story, or reel.
  • media_type - Media type of the published content, e.g., IMAGE, VIDEO, STORIES, REELS.
  • container_id - ID of the media container created on Instagram.
  • media_id - ID of the published media on Instagram.
  • caption - Caption text used for the post or reel.
  • image_url - URL of the image published (for feed posts and image stories).
  • video_url - URL of the video published (for stories and reels).
  • shared_to_feed - Boolean indicating if the reel was shared to the feed (only for reels).
  • error - Error details if the publishing failed, including message, type, and code.

Dependencies

  • An API key credential for Instagram Automation API with access token and Instagram user ID.

Troubleshooting

  • Common errors include missing or invalid URLs, unsupported media formats, exceeding size limits, expired or insufficient permissions on the access token, and incorrect Instagram account type (must be Business or Creator).
  • Error messages often indicate issues creating the media container or processing the media. Users should verify URLs are public HTTPS links, media formats are correct (JPG/PNG for images, MP4 for videos), and API permissions are granted.
  • For feed videos, users must use the Reel content type with the 'share to feed' option enabled due to Instagram API limitations.
  • If the container status does not become 'FINISHED' within the expected time, users should wait longer or check media validity.

Links

Discussion