
madebypan/threads-api-skill
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Threads API 풀 플로우 툴킷 - 설정, 이미지, 크롬 자동화 가이드와 스레드 멀티 포스트. Claude Code Skill으로 포장되었습니다.
개요
API를 통해 Meta Threads에 게시하기위한 완벽한 전투 테스트 가이드 및 툴킷 - Claude Code Skill으로 포장. 설정 흐름, 멀티 포스트 스레드 이미지, 실행 가능한 스크립트, 및 AI 구동 워크플로우에 대한 크롬 자동화 가이드를 포함합니다. - — Meta App을 만들기에서 긴 라이브 토큰 (60 일)을 얻기 위해 - — Reply to id, Mix text and images - — public URL (catbox.moe) + image url을 통해 첨부 - — post-thread.sh .env credentials - — for both Claude Code and OpenAI Codex - — 10+ real pitfalls encountered and documented at each step .claude/skills/threads-api/ 폴더를 프로젝트에 복사하십시오: 이들은 개발 중에 발생하는 실제 문제입니다. - hypothetical: 전체 목록에서 setup.md 및 post-thread.md를 참조하십시오. 이 프로젝트는 로그인 상태 단계 (Meta Developer Console, Graph API Explorer)를 처리하기 위해 AI 도구를 작동시키는 가이드를 포함합니다: - chrome-setup-claude.md - → 크롬 설치-codex.md
개요(AI 번역)
API를 통해 Meta Threads에 게시하기위한 완벽한 전투 테스트 가이드 및 툴킷 - Claude Code Skill으로 포장.
이미지, 실행 가능한 스크립트 및 AI 구동 워크플로우를 위한 Chrome 자동화 가이드와 함께 설정 흐름, 멀티 포스트 스레드를 포함합니다.
특징
- ** 풀 설정 흐름 ** — Meta App을 만들기에서 긴 라이브 토큰 (60 일)
-Multi-post Threads -
reply_to_id, 텍스트 및 이미지를 섞는 체인 포스트 -Image support - public URL 업로드 (catbox.moe) +image_url-Executable script —post-thread.sh].env] credentials 사용 가능 - **Chrome 자동화 가이드 ** - Claude Code와 OpenAI Codex 모두 -Pitfall 문서 — 10+ 실제 pitfalls가 각 단계에 참여하고 문서화
빠른 시작
##1. 복제 및 구성
# # 2. 스레드를 게시
##3. Claude Code Skill 사용
.claude/skills/threads-api/] 폴더를 프로젝트에 복사:
그런 다음 Claude 코드에서 호출 :
파일 구조
스레드 API 개요
인증 흐름
출판 흐름
키 엔드포인트
| 행동 | 방법 | 엔드포인트 |
|---|---|---|
| 컨테이너 만들기 | POST | [T5] |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Threads API Skill for Claude Code
A complete, battle-tested guide and toolkit for publishing to Meta Threads via API — packaged as a Claude Code Skill.
Includes setup flow, multi-post threading with images, executable scripts, and Chrome automation guides for AI-driven workflows.
Features
- Full setup flow — from creating a Meta App to obtaining a long-lived token (60-day)
- Multi-post threads — chain posts with
reply_to_id, mix text and images - Image support — upload to public URL (catbox.moe) + attach via
image_url - Executable script —
post-thread.shready to use with.envcredentials - Chrome automation guides — for both Claude Code and OpenAI Codex
- Pitfall documentation — 10+ real pitfalls encountered and documented at each step
Quick Start
1. Clone and configure
git clone https://github.com/PRODUCTIVITYENHANCE/threads-api-skill.git
cd threads-api-skill
# Copy and fill in your credentials
cp .env.example .env
# Edit .env with your THREADS_APP_ID, THREADS_APP_SECRET, THREADS_USER_ID, THREADS_ACCESS_TOKEN
2. Post a thread
# Edit content in post-thread.sh, then:
chmod +x post-thread.sh
./post-thread.sh
3. Use as Claude Code Skill
Copy the .claude/skills/threads-api/ folder into your project:
cp -r .claude/skills/threads-api/ YOUR_PROJECT/.claude/skills/threads-api/
Then invoke in Claude Code:
/threads-api
File Structure
.
├── README.md
├── .env.example ← Credential template
├── post-thread.sh ← Executable posting script
└── .claude/skills/threads-api/
├── SKILL.md ← Skill entry point
├── setup.md ← Full setup flow + 10 pitfalls
├── post-thread.md ← Thread posting guide + 7 pitfalls
├── post-thread.sh ← Script (also in skill folder)
├── chrome-setup-claude.md ← Claude Code × Chrome guide
└── chrome-setup-codex.md ← Codex × Chrome guide
Threads API Overview
Authentication Flow
Create Meta App → Add Tester → Accept Invitation
→ Graph API Explorer (switch to .threads.net/)
→ Generate Short-lived Token (1 hour)
→ Exchange for Long-lived Token (60 days)
Publishing Flow
Create Container (text/image) → Wait 30s → Publish
↓
Create Reply Container (reply_to_id) → Wait 30s → Publish
Key Endpoints
| Action | Method | Endpoint |
|---|---|---|
| Create container | POST | /{user_id}/threads |
| Publish | POST | /{user_id}/threads_publish |
| Refresh token | GET | /refresh_access_token |
Critical Pitfalls
These are real issues encountered during development — not hypothetical:
| # | Pitfall | Solution |
|---|---|---|
| 1 | Graph API Explorer defaults to .facebook.com/ |
Must switch API selector to .threads.net/ |
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add madebypan/threads-api-skill