threads-api
Skill69 starsChanged 5 months agoMITView on GitHub
Threads API 全流程 — 從申請 Meta App、取得 Token 到發布串文(多篇 + 圖片)。包含 Chrome 操作指南和完整踩坑紀錄。
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Scorpio-meow/Threads-skilltheir own version, first seen Oct 15, 2026
- nikhonit/social-media-api-skillstheir own version, first seen Oct 13, 2026
- nathfavour/auracrabtheir own version, first seen Oct 13, 2026
- fathinafiff/skillstheir own version, first seen May 16, 2026
- rawveg/skillsforge-marketplacetheir own version, first seen Feb 19, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- rawveg/skillsforge-marketplace★ 40same name
- fathinafiff/skills★ 7same name
- nikhonit/social-media-api-skills★ 3same name
- nathfavour/auracrab★ 1same name
- Scorpio-meow/Threads-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Threads API 全流程 Skill
1. 初次設定 → setup.md
從零開始完成 Threads API 設定:
- 建立 Meta App(命名限制、使用案例選擇)
- 新增 Threads 測試人員並接受邀請
- 啟用
threads_basic+threads_content_publish權限 - 透過圖形 API 測試工具取得 Token(關鍵:要切換到
.threads.net/) - Short-lived → Long-lived Token 兌換
- 儲存到
.env
2. 發布串文 → post-thread.md
用 API 發布多篇串文(thread):
- 純文字 / 圖片混合
reply_to_id串接多篇- 圖片上傳到公開 URL(catbox.moe)
- 可執行腳本:post-thread.sh
3. Chrome 操作指南(給 AI 用)
如何讓 AI 工具操作 Chrome 來完成需要登入狀態的步驟(如 Meta Developer Console):
- Claude Code 用戶 → chrome-setup-claude.md
- 安裝 Claude in Chrome 擴充功能
claude --chrome或/chrome啟動- 支援 Chrome + Edge
- 含本專案實際操作踩坑 6 則
- Codex 用戶 → chrome-setup-codex.md
- 從 Codex App → Plugins 安裝(不要直接從 Web Store 裝)
- 僅支援 Chrome,EU/UK 首發不支援
- 含 Claude vs Codex 功能對比表
快速開始
已有 Token → 直接發文
# 1. 確認 .env 已設定
cat .env
# 2. 修改 post-thread.sh 中的發文內容
vim .claude/skills/threads-api/post-thread.sh
# 3. 執行
./post-thread.sh沒有 Token → 從頭設定
依照 setup.md 的六個階段逐步操作。
.env 格式
THREADS_APP_ID=你的應用程式編號
THREADS_APP_SECRET=你的應用程式密鑰
THREADS_USER_ID=你的用戶ID
THREADS_ACCESS_TOKEN=你的長期Token檔案結構
.claude/skills/threads-api/
├── SKILL.md ← 你在這裡(入口)
├── setup.md ← 完整申請流程 + 踩坑(10 個)
├── post-thread.md ← 串文發布教學 + 踩坑(7 個)
├── post-thread.sh ← 可直接執行的發文腳本
├── chrome-setup-claude.md ← Claude Code × Chrome 操作指南
└── chrome-setup-codex.md ← Codex × Chrome 操作指南Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

