/fetch-tweet:fetch-tweetfrom fetch-tweet
Fetches tweet text, author info, and engagement data from X/Twitter URLs using the FxEmbed API. Supports translation and programmatic access via a Python script.
Ships in fetch-tweet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
X/Twitter URL에서 트윗 원문, 작성자 정보, 인게이지먼트 데이터를 가져오는 스킬.
FxEmbed 오픈소스 프로젝트의 API (api.fxtwitter.com)를 활용하여 JavaScript 없이 트윗 데이터를 추출한다.
X/Twitter URL의 도메인을 api.fxtwitter.com으로 변환하면 JSON으로 트윗 전체 데이터를 반환한다.
https://x.com/user/status/123456
→ https://api.fxtwitter.com/user/status/123456
scripts/fetch_tweet.py - 표준 라이브러리만 사용, 외부 의존성 없음.
# 기본 사용 (포맷팅된 출력)
python scripts/fetch_tweet.py https://x.com/garrytan/status/2020072098635665909
# JSON 출력 (프로그래밍 활용)
python scripts/fetch_tweet.py https://x.com/garrytan/status/2020072098635665909 --json
지원 URL 형식: x.com, twitter.com, fxtwitter.com, fixupx.com
| 필드 | 설명 |
|---|---|
tweet.text | 트윗 본문 (URL 확장됨) |
tweet.author | 작성자 (name, screen_name, bio, followers) |
tweet.likes/retweets/replies/bookmarks/views | 인게이지먼트 |
tweet.created_at | 작성 일시 |
tweet.media | 첨부 미디어 (photos, videos) |
tweet.quote | 인용 트윗 (동일 구조) |
tweet.lang | 언어 코드 |
scripts/fetch_tweet.py <url> 실행Contents Hub 등에서 수집한 X URL 목록을 일괄 처리할 때:
# JSON 출력으로 파이프라인 연동
python scripts/fetch_tweet.py <url> --json | python3 -c "import sys,json; print(json.load(sys.stdin)['tweet']['text'])"
스크립트 실행이 어려운 경우 WebFetch 도구로 직접 API 호출 가능:
URL: https://api.fxtwitter.com/{screen_name}/status/{status_id}
Prompt: "Extract the full tweet text and author name"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub team-attention/plugins-for-claude-natives --plugin fetch-tweetOther plugins' skills for the same job