Facebook, Instagram & Threads icon

Facebook, Instagram & Threads

Create and publish content to Facebook, Instagram, and Threads

Overview

This node enables creating and publishing video posts specifically on the Threads platform, part of a broader integration supporting Facebook, Instagram, and Threads. For the "Create Video Post" operation under the "Thread" resource, it allows users to post videos accompanied by optional text content directly to a specified Threads user account.

Common scenarios include automating social media marketing workflows where video content needs to be published programmatically to Threads accounts, such as scheduled promotional videos, event highlights, or user engagement clips.

Practical example: A marketing automation workflow that uploads a product demo video with descriptive text to a brand's Threads account whenever a new product is launched.

Properties

Name Meaning
Threads User ID The unique identifier of the Threads user account where the video post will be created.
Video URL The publicly accessible URL of the video file to be posted on Threads.
Video Text Optional text content to accompany the video post, providing context or description.

Output

The node outputs JSON data representing the response from the Threads API after creating and publishing the video post. This typically includes identifiers and metadata about the created post.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "id": "1234567890",
  "creation_id": "abcdefg",
  "status": "published"
}

Dependencies

  • Requires an API key credential for authenticating requests to the Facebook/Instagram/Threads API.
  • The node makes HTTP POST requests to the Facebook Graph API endpoint https://graph.facebook.com/v23.0.
  • Proper configuration of the API authentication credential in n8n is necessary.
  • The video URL must be publicly accessible for the API to fetch and publish the video.

Troubleshooting

  • Common issues:

    • Invalid or missing Threads User ID can cause authorization or not found errors.
    • Providing a non-public or inaccessible video URL will result in upload failures.
    • Insufficient permissions or expired API credentials may lead to authentication errors.
  • Error messages:

    • "Unknown operation: createVideoPost": Indicates the operation parameter was incorrect or unsupported.
    • API error responses containing types and messages from the Facebook/Threads API are surfaced; these should be reviewed for details like permission issues or invalid parameters.
  • Resolutions:

    • Verify the Threads User ID is correct and the authenticated user has posting rights.
    • Ensure the video URL is accessible without authentication.
    • Refresh or reconfigure the API authentication credential if authorization errors occur.

Links and References

Discussion