Facebook, Instagram & Threads icon

Facebook, Instagram & Threads

Create and publish content to Facebook, Instagram, and Threads

Overview

This node enables creating and publishing content on Facebook, Instagram, and Threads platforms via the respective APIs. Specifically for Instagram, it supports creating various post types including Reels. The "Create Reels" operation allows users to upload a vertical video as an Instagram Reel, optionally adding a caption and a cover image.

Common scenarios where this node is beneficial include:

  • Automating social media marketing workflows by scheduling or programmatically posting Instagram Reels.
  • Integrating Instagram content creation into broader automation pipelines.
  • Managing multiple social media accounts from a single workflow.

Practical example:

  • A marketing team can use this node to automatically publish promotional Reels videos with captions and custom cover images directly from their content management system.

Properties

Name Meaning
Instagram Business Account ID The unique identifier of the Instagram Business Account where the Reel will be published.
Reels Video URL The URL of the MP4 video file to be used for the Instagram Reel. Vertical orientation is recommended.
Reels Caption Optional text caption for the Reel, supporting hashtags and mentions.
Cover Image URL Optional URL of a JPEG image to be used as the cover image for the Reel.

Output

The node outputs JSON data representing the response from the Instagram Graph API after publishing the Reel. This typically includes identifiers such as the creation_id confirming successful media creation and publication.

No binary data output is produced by this operation.

Dependencies

  • Requires an API authentication token credential configured in n8n that grants access to the Facebook/Instagram Graph API.
  • The Instagram Business Account must be linked and authorized for API access.
  • The node makes HTTP POST requests to the Facebook Graph API endpoint (https://graph.facebook.com/v23.0).

Troubleshooting

  • Common issues:

    • Invalid or missing Instagram Business Account ID will cause API errors.
    • Incorrect video URL format or unsupported video encoding may result in upload failures.
    • Missing or invalid API credentials will prevent successful authentication.
    • Using non-vertical videos might lead to suboptimal display on Instagram Reels.
  • Error messages:

    • Errors returned from the API include detailed error codes and messages (e.g., permission errors, invalid parameters).
    • The node surfaces these errors with descriptive messages like Facebook/Instagram/Threads API Error: <error message>.
  • Resolution tips:

    • Verify that the Instagram Business Account ID is correct and linked properly.
    • Ensure the video URL points to a valid MP4 file accessible by the API.
    • Confirm that the API authentication token has the necessary permissions.
    • Check the video orientation and format according to Instagram's requirements.

Links and References

Discussion