Meta Publisher icon

Meta Publisher

Publish to Instagram, Facebook Pages, and Threads

Overview

This node, named "Meta Publisher," enables publishing content to Meta platforms including Instagram, Facebook Pages, and Threads. Specifically for the Threads resource with the Publish Video (Threads) operation, it allows users to publish a video post on Threads associated with a specified user ID.

Typical use cases include automating social media workflows where videos need to be posted programmatically to Threads accounts. For example, marketers or content creators can schedule or trigger video posts directly from their automation pipelines without manual intervention.

Properties

Name Meaning
Input Source Choose where the node reads its parameters from: either directly from input fields ("Fields") or from a JSON property path inside the input item ("From JSON Property").
JSON Property Path Dot notation path inside the input JSON to extract parameters when "From JSON Property" is selected. Examples: $json (whole JSON), data, or payload.post.
Polling Interval (Sec) How often (in seconds) the node checks the processing status of the published video. Minimum 1 second, maximum 60 seconds.
Max Wait (Sec) Maximum time (in seconds) to wait for the publishing process before stopping polling. Range: 30 to 3600 seconds.
Threads User ID The identifier of the Threads user account where the video will be published. This is required.
Video URL The URL of the video file to be published on Threads. This is required.
Text (Optional) Optional text caption or message to accompany the video post.
Alt Text Alternative text description for the video, useful for accessibility purposes.

Output

The node outputs JSON data representing the result of the publishing operation. This typically includes metadata about the published video post such as IDs, status, or URLs returned by the Threads API.

If the operation involves asynchronous processing, the node polls the status until completion or timeout based on the configured polling interval and max wait time.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API authentication credential for Meta's Graph API to interact with Threads.
  • The node depends on internal helper functions (n.OPS.threadsPublishVideo) that handle the actual API calls and polling logic.
  • Proper configuration of the Meta API credentials in n8n is necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Missing or invalid Threads User ID or Video URL parameters will cause errors.
    • Incorrect JSON property path when using "From JSON Property" input source may lead to "No JSON found at path" errors.
    • Network or API permission issues can cause publishing failures.
  • Error Messages:

    • "No JSON found at path \"<path>\"": Indicates the specified JSON path does not exist in the input data. Verify the path or switch to "Fields" input source.
    • "Invalid job payload (not an object)": The extracted data from JSON path is not an object as expected. Ensure the input data structure matches requirements.
    • "Unsupported Threads operation in payload: <operation>": The operation specified is not supported by the node. Confirm you are using the correct operation name.
    • General API errors will be surfaced from the underlying Meta API calls; check API credentials and permissions.
  • Resolution Tips:

    • Double-check all required parameters are provided and correctly formatted.
    • Use the "Fields" input source for simpler setups or verify JSON paths carefully if using "From JSON Property".
    • Ensure the Meta API credential has appropriate scopes and is valid.
    • Increase polling intervals or max wait times if publishing takes longer than expected.

Links and References

Discussion