Actions7
- Auth Actions
- Thread Actions
Overview
This node integrates with the Facebook Threads API to manage threads on the platform. It supports operations such as creating new threads (including carousel posts), retrieving thread details, deleting threads, posting messages to existing threads, and replying to threads.
Common scenarios for this node include:
- Automating content publishing on Facebook Threads.
- Fetching thread information for monitoring or analytics.
- Managing user interactions by replying to threads programmatically.
- Creating rich media posts using carousel threads.
For example, a social media manager could use this node to schedule and publish multiple types of posts, retrieve engagement data from specific threads, or automate responses to user comments.
Properties
| Name | Meaning |
|---|---|
| Thread ID | The unique identifier of the thread to operate on. Required for "get", "delete", "post", and "reply" operations. |
Output
The output is a JSON array where each element corresponds to the result of an operation performed on a thread. The structure varies depending on the operation:
- Get: Returns detailed information about the thread, including fields like
id,message,created_time,comments,likes, andmedia. - Create / Create Carousel / Post / Reply: Returns confirmation objects typically containing identifiers such as creation IDs or status messages indicating success.
- Delete: Returns a confirmation of deletion status.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Facebook Threads API.
- The node uses HTTP requests to communicate with the Facebook Graph API endpoint at
https://graph.threads.net. - Proper permissions and valid access tokens are necessary to perform operations.
Troubleshooting
Error: "Không nhận được container ID hợp lệ từ API"
This indicates that the API did not return a valid container ID when creating a thread. Ensure that the access token is valid and has the required permissions.Error: "Carousel cần ít nhất 2 media items"
When creating a carousel thread, at least two media URLs must be provided. Verify that you supply enough media items.Error: "Không thể tạo item container cho media: [URL]"
Occurs if the media URL is invalid or unsupported. Check the media URLs for correct formats (images: jpg, jpeg, png, gif; videos: mp4, mov, avi, wmv).Access Token Issues
If authentication fails, verify that the access token is current and has not expired. Refresh tokens as needed.HTTP Request Failures
Network issues or incorrect API endpoints can cause failures. Confirm network connectivity and API URL correctness.
Links and References
- Facebook Graph API Documentation
- Facebook Threads API Overview (Note: hypothetical link as per context)