Install
openclaw skills install postqube-threads-publisherA powerful social media posting skill for PostQube. Triggers when the user wants to: - Publish a post to Threads. - Create a "Thread Storm" or "Auto-chained"...
openclaw skills install postqube-threads-publisherPostQube allows you to seamlessly publish text, images, and videos to social media platforms (currently specializing in Threads) via its REST API. It supports native Thread Storming, which automatically chains multiple posts together into a single cohesive thread.
POSTQUBE_API_KEY environment variable.Follow these steps when the user asks to post or manage social media content:
POSTQUBE_API_KEY is present.curl to interact with the PostQube API (Base URL: https://postqube.quickbitsoftware.com).postId or a direct link to the post with the user after a successful request.Published single posts or native threads.
Endpoint: POST /api/v1/post
| Parameter | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | The target platform (e.g., "threads"). |
text | string | Conditional | Content for a single post (Max 500 chars). |
threads | array | Conditional | Array of objects [{"text": "..."}] for automatic chaining. |
mediaUrls | array | No | Publicly accessible URLs for images or videos. |
mediaType | string | No | "IMAGE", "VIDEO", or "CAROUSEL". |
replyToId | string | No | The platformPostId to reply to. |
Single Post:
curl -X POST https://postqube.quickbitsoftware.com/api/v1/post \
-H "x-api-key: $POSTQUBE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "threads",
"text": "Revolutionizing social media with PostQube! 🚀"
}'
Thread Storm (Chaining):
curl -X POST https://postqube.quickbitsoftware.com/api/v1/post \
-H "x-api-key: $POSTQUBE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "threads",
"threads": [
{ "text": "1/ This is how easy it is to start a thread..." },
{ "text": "2/ PostQube handles the native chaining for you." },
{ "text": "3/ Try it out today!" }
]
}'
Query the status of a specific post using its internal postId.
Endpoint: GET /api/v1/post/{postId}
curl https://postqube.quickbitsoftware.com/api/v1/post/{postId} \
-H "x-api-key: $POSTQUBE_API_KEY"
Fetch a list of recent posts for a specific platform.
Endpoint: GET /api/v1/posts
curl "https://postqube.quickbitsoftware.com/api/v1/posts?platform=threads&limit=10" \
-H "x-api-key: $POSTQUBE_API_KEY"
Check your remaining API quota and usage limits.
Endpoint: GET /api/v1/usage
curl https://postqube.quickbitsoftware.com/api/v1/usage \
-H "x-api-key: $POSTQUBE_API_KEY"
| Status Code | Meaning | Agent Action |
|---|---|---|
| 400 | Bad Request | Check platform support and character limits (500 max). |
| 401 | Unauthorized | Ask the user to verify their POSTQUBE_API_KEY. |
| 402 | Quota Exceeded | Suggest upgrading at postqube.quickbitsoftware.com/pricing. |
| 502 | Platform Error | The social network rejected the post. Check media URLs or content. |
mediaUrls are publicly accessible. Private/Local paths will fail.threads chaining feature.