Get the FREE Ultimate OpenClaw Setup Guide →
S

Publora — Threads

Verified

@sergebulaev

npx machina-cli add skill @sergebulaev/publora-threads --openclaw
Files (1)
SKILL.md
2.3 KB

Publora — Threads

Post and schedule Threads content via the Publora API.

Prerequisite: Install the publora core skill for auth setup and getting platform IDs.

Get Your Threads Platform ID

GET https://api.publora.com/api/v1/platform-connections
# Look for entries like "threads-789"

Post to Threads Immediately

await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Good morning Threads 👋 What are you building today?',
    platforms: ['threads-789']
  })
});

Schedule a Threads Post

await fetch('https://api.publora.com/api/v1/create-post', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
  body: JSON.stringify({
    content: 'Reminder: ship it, then make it perfect. Done beats perfect.',
    platforms: ['threads-789'],
    scheduledTime: '2026-03-16T11:00:00.000Z'
  })
});

Threads + Image

import requests

HEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }

post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
    'content': 'Behind the scenes 👇',
    'platforms': ['threads-789'],
    'scheduledTime': '2026-03-16T11:00:00.000Z'
}).json()

upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
    'fileName': 'behind-scenes.jpg', 'contentType': 'image/jpeg',
    'type': 'image', 'postGroupId': post['postGroupId']
}).json()

with open('behind-scenes.jpg', 'rb') as f:
    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)

Tips for Threads

  • Conversational tone works best — Threads rewards authenticity over polish
  • 500 character limit per post
  • Best times: Morning (7–9 AM) and evening (7–9 PM)
  • No hashtags — Threads doesn't surface content via hashtags the same way
  • Cross-post with Instagram for wider reach on Meta platforms

Source

git clone https://clawhub.ai/sergebulaev/publora-threadsView on GitHub

Overview

Publora — Threads enables posting or scheduling Threads updates through the Publora API. It relies on the Publora core skill for auth and platform ID retrieval, then uses create-post to publish, with an optional image flow using get-upload-url.

How This Skill Works

First, fetch your Threads platform ID (e.g., threads-789) from the platform-connections endpoint. Then call create-post with the content and platforms array; include scheduledTime to schedule a future post. For images, obtain an upload URL with get-upload-url, upload the media, and reference the returned postGroupId when posting.

When to Use It

  • Publish a Threads post immediately with fresh content
  • Schedule a Threads post for a specific future time
  • Post a Threads update that includes an image
  • Publish to Threads as part of a multi-platform workflow (cross-posting)
  • Configure and verify your Threads platform ID before publishing

Quick Start

  1. Step 1: Install the Publora core skill to enable auth setup and platform ID retrieval
  2. Step 2: Retrieve your Threads platform ID (e.g., threads-789) from platform-connections
  3. Step 3: Post immediately with create-post or schedule with scheduledTime; for images, follow the get-upload-url flow

Best Practices

  • Use the correct Threads platform ID from platform-connections (e.g., threads-789)
  • Keep content within the 500-character Threads limit
  • Write in a conversational tone to suit Threads' style
  • Protect your x-publora-key and test in a staging environment
  • If cross-posting, consider platform-specific nuances (Threads doesn’t rely on hashtags the same way)

Example Use Cases

  • Post immediately: content 'Good morning Threads 👋 What are you building today?' to platforms: ['threads-789']
  • Schedule: content 'Reminder: ship it, then make it perfect. Done beats perfect.' with scheduledTime and platforms: ['threads-789']
  • Post with image: content 'Behind the scenes 👇' on threads-789, using get-upload-url flow and postGroupId
  • Discover platform ID: GET https://api.publora.com/api/v1/platform-connections and find an entry like 'threads-789'
  • Cross-post with Instagram: publish to Threads while also sharing to Instagram for wider reach (as part of a multi-platform strategy)

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers