Facebook, Instagram & Threads icon

Facebook, Instagram & Threads

Create and publish content to Facebook, Instagram, and Threads

Overview

This node enables creating and publishing content to Facebook, Instagram, and Threads platforms via their APIs. Specifically for the Threads resource with the Create Text Post operation, it allows users to post plain text messages to a specified Threads user account.

Common scenarios include automating social media posting workflows, such as scheduling announcements, sharing updates, or broadcasting messages on Threads without manual intervention.

Practical example: Automatically post daily motivational quotes or company news to a Threads account by providing the Threads User ID and the text content of the post.


Properties

Name Meaning
Threads User ID The unique identifier of the Threads user account where the post will be created.
Text The textual content of the Threads post to be published.

Output

The node outputs JSON data representing the response from the Threads API after creating and publishing the post. This typically includes identifiers like creation_id and other metadata confirming successful post creation.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "id": "1234567890",
  "text": "Your posted text content",
  "creation_id": "abcdefg12345"
}

Dependencies

  • Requires an API authentication token credential configured in n8n to access the Facebook/Instagram/Threads API.
  • The node makes HTTP POST requests to the Facebook Graph API endpoint (https://graph.facebook.com/v23.0).
  • Proper permissions/scopes must be granted to the API token to create and publish Threads posts.

Troubleshooting

  • Common issues:

    • Invalid or missing Threads User ID: Ensure the correct user ID is provided.
    • Insufficient API permissions: Verify that the API token has rights to post on Threads.
    • Network or API errors: Check connectivity and API status.
  • Error messages:

    • "Unknown operation: createTextPost": Indicates the operation parameter was not recognized; ensure the operation name matches exactly.
    • API error responses include detailed error types and messages, e.g., permission denied or invalid parameters. These are surfaced in the node's error output.
  • Resolution tips:

    • Double-check input parameters for correctness.
    • Confirm API credentials and permissions.
    • Use the node’s "Continue On Fail" option to handle errors gracefully during batch processing.

Links and References

Discussion