본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

twitter-post

sit-in 제작

Health & Fitness
1.4kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Post tweets to Twitter/X via the official API v2 (OAuth 1.0a)

설명

이 스킬이 하는 일

Posts tweets to Twitter/X via the official API v2 using OAuth 1.0a authentication. Supports single tweets, threads, replies, and quote tweets. Character weight is validated before posting, accounting for CJK characters and URL length normalization.

Validates character weight accurately before submission, including CJK double-counting and fixed URL weights, so tweets don't fail at the API level.

사용 시점

  • Posting product announcements without opening a browser
  • Publishing cron-scheduled content from a database or Notion
  • Sending multi-tweet threads from a script
  • Replying to a specific tweet as part of an automated workflow
  • Quote-tweeting with generated commentary

예시 워크플로

입력

User asks: Post a thread covering our three biggest product updates this quarter

에이전트
  1. 1

    Drafts three tweet texts, one per update

  2. 2

    Validates each tweet's weighted character count against the 280-character limit

  3. 3

    Runs node scripts/tweet.js --thread with all three texts

  4. 4

    Parses JSON output to confirm each tweet was posted and captures the returned URLs

출력

Thread of three tweets posted to Twitter/X with IDs and URLs confirmed in the response

요구 사항

  • Twitter/X Developer account at developer.x.com
  • TWITTER_CONSUMER_KEY environment variable (API Key)
  • TWITTER_CONSUMER_SECRET environment variable (API Key Secret)
  • TWITTER_ACCESS_TOKEN environment variable
  • TWITTER_ACCESS_TOKEN_SECRET environment variable

설치

clawhub install sit-in/twitter-post

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크