
Fetch Tweet
Pulls tweet content, author info, and engagement metrics from X/Twitter URLs by routing them through FxEmbed's API. Works with x.com, twitter.com, and the various fix domains. The Python script has zero dependencies and outputs either formatted text or JSON, which makes it easy to pipe into translation workflows or batch processing. Supports quoted tweets and media attachments. The bilingual documentation (Korean and English triggers) suggests this was built for cross-language social media monitoring. Can't access private or deleted tweets, but for public posts it's a clean way to grab the full text without dealing with JavaScript rendering or official API tokens.
- skills.sh installs
- 1.3K
- GitHub stars
- 19
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ai-native-camp/camp-2 --skill fetch-tweet --agent claude-codeInstalls into .claude/skills of the current project.
Files
Fetch Tweet
X/Twitter URL에서 트윗 원문, 작성자 정보, 인게이지먼트 데이터를 가져오는 스킬.
FxEmbed 오픈소스 프로젝트의 API (api.fxtwitter.com)를 활용하여 JavaScript 없이 트윗 데이터를 추출한다.
How It Works
X/Twitter URL의 도메인을 api.fxtwitter.com으로 변환하면 JSON으로 트윗 전체 데이터를 반환한다.
https://x.com/user/status/123456
→ https://api.fxtwitter.com/user/status/123456
Script
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
API Response Fields
| 필드 | 설명 |
|---|---|
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 | 언어 코드 |
Workflow
단일 트윗 가져오기
- URL에서 screen_name과 status_id를 추출
scripts/fetch_tweet.py <url>실행- 결과를 사용자에게 표시하거나 번역
번역 요청 시
Sponsors
Details
- Repository
- github.com/ai-native-camp/camp-2
- Category
- AI & Agent Building
- First seen
- Apr 16, 2026