ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

threads-poster

Post content to Threads using HTTP Browser API. Supports text, images, and scheduled posts for engagement optimization.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/sa9saq/threads-poster
Or

Threads 投稿スキル

Threads(Meta)への自動投稿を行うスキル。HTTP Browser APIを使用。

クイックスタート

基本投稿(HTTP API)

curl -X POST "${MOLTBOT_URL}/browser/sequence?secret=${CDP_SECRET}" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://threads.net",
    "actions": [
      {"type": "waitForSelector", "selector": "[aria-label=\"Create\"]"},
      {"type": "click", "selector": "[aria-label=\"Create\"]"},
      {"type": "waitForSelector", "selector": "[data-contents=\"true\"]"},
      {"type": "type", "selector": "[data-contents=\"true\"]", "text": "投稿内容をここに"},
      {"type": "wait", "ms": 1000},
      {"type": "click", "selector": "[data-testid=\"post-button\"]"},
      {"type": "wait", "ms": 3000},
      {"type": "screenshot"}
    ]
  }'

環境変数

export MOLTBOT_URL="https://your-worker.workers.dev"
export CDP_SECRET="your-secret"

投稿パターン(HTTP API)

1. テキスト投稿

{
  "url": "https://threads.net",
  "actions": [
    {"type": "waitForSelector", "selector": "[aria-label=\"Create\"]"},
    {"type": "click", "selector": "[aria-label=\"Create\"]"},
    {"type": "waitForSelector", "selector": "[data-contents=\"true\"]"},
    {"type": "type", "selector": "[data-contents=\"true\"]", "text": "投稿内容"},
    {"type": "wait", "ms": 1000},
    {"type": "click", "selector": "[data-testid=\"post-button\"]"},
    {"type": "wait", "ms": 3000},
    {"type": "screenshot"}
  ]
}

2. プロフィールから投稿

{
  "url": "https://threads.net/@yourusername",
  "actions": [
    {"type": "click", "selector": "[aria-label=\"Create\"]"},
    {"type": "waitForSelector", "selector": "[data-contents=\"true\"]"},
    {"type": "type", "selector": "[data-contents=\"true\"]", "text": "投稿内容"},
    {"type": "wait", "ms": 1000},
    {"type": "click", "selector": "[data-testid=\"post-button\"]"},
    {"type": "wait", "ms": 3000},
    {"type": "screenshot"}
  ]
}

セレクタ一覧(2026年版)

const SELECTORS = {
  // 投稿関連
  createButton: '[aria-label="Create"]',
  newPostButton: '[aria-label="New post"]',
  textArea: '[data-contents="true"]',
  postButton: '[data-testid="post-button"]',

  // メディア
  imageUpload: 'input[type="file"]',

  // その他
  closeModal: '[aria-label="Close"]',
};

投稿方法の比較

方法1: HTTP Browser API(推奨・即時開始可能)

利点:
├── 審査不要、即日開始
├── 全機能利用可能
├── WebSocket不要(HTTP only)
└── 柔軟な操作

注意点:
├── UIの変更に弱い
├── CAPTCHAリスク
└── レート制限に注意

方法2: Threads API(審査通過後)

利点:
├── 安定した動作
├── レート制限が明確
└── 公式サポート

制限:
├── Meta審査が必要(数週間〜数ヶ月)
├── ビジネスアカウント必須
└── 機能制限あり

ログインフロー(HTTP API)

Metadata

Author@sa9saq
Stars1133
Views0
Updated2026-02-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-sa9saq-threads-poster": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.