x-tweet-fetcher

Fetch tweets from X/Twitter without login or API keys. Supports regular tweets, long tweets, quoted tweets, and full X Articles. Zero dependencies, zero configuration.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "x-tweet-fetcher" with this command: npx skills add hjw21century/x-tweet-fetcher

X Tweet Fetcher

Fetch tweets from X/Twitter without authentication. Uses FxTwitter API.

What It Can Fetch

Content TypeSupport
Regular tweets✅ Full text + stats
Long tweets (Twitter Blue)✅ Full text
X Articles (long-form)✅ Complete article text
Quoted tweets✅ Included
Stats (likes/RT/views)✅ Included

Usage

CLI

# JSON output
python3 scripts/fetch_tweet.py --url "https://x.com/user/status/123456"

# Pretty JSON
python3 scripts/fetch_tweet.py --url "https://x.com/user/status/123456" --pretty

# Text only (human readable)
python3 scripts/fetch_tweet.py --url "https://x.com/user/status/123456" --text-only

From Agent Code

from scripts.fetch_tweet import fetch_tweet

result = fetch_tweet("https://x.com/user/status/123456")
tweet = result["tweet"]

# Regular tweet
print(tweet["text"])

# X Article (long-form)
if tweet["is_article"]:
    print(tweet["article"]["title"])
    print(tweet["article"]["full_text"])  # Complete article
    print(tweet["article"]["word_count"])

Output Format

{
  "url": "https://x.com/user/status/123",
  "username": "user",
  "tweet_id": "123",
  "tweet": {
    "text": "Tweet content...",
    "author": "Display Name",
    "screen_name": "username",
    "likes": 100,
    "retweets": 50,
    "bookmarks": 25,
    "views": 10000,
    "replies_count": 30,
    "created_at": "Mon Jan 01 12:00:00 +0000 2026",
    "is_note_tweet": false,
    "is_article": true,
    "article": {
      "title": "Article Title",
      "full_text": "Complete article content...",
      "word_count": 4847,
      "char_count": 27705
    }
  }
}

Requirements

  • Python 3.7+
  • No external packages (stdlib only)
  • No API keys
  • No login required

How It Works

Uses FxTwitter public API (api.fxtwitter.com) which proxies X/Twitter content. Articles are returned as structured blocks and reassembled into full text.

Limitations

  • Cannot fetch reply threads (only reply counts available via replies_count field)
    • Reply content would require browser automation dependencies (Camofox/Nitter)
    • These were removed to maintain zero-dependency architecture
    • --replies flag exists but returns an explanatory error message
  • Cannot fetch deleted or private tweets
  • Rate limits depend on FxTwitter service availability
  • If FxTwitter goes down, the skill won't work (no fallback)

File Structure

skills/x-tweet-fetcher/
├── SKILL.md              (this file)
└── scripts/
    └── fetch_tweet.py    (single file, zero deps)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Hot Content Creator

热点内容创作助手:自动抓取多平台热点,筛选创作方向,生成小红书封面图和虚拟博主形象, 写出有人味的爆款内容。触发词:热点创作、追热点、创作方向、小红书方向、抖音方向。 适用场景:需要从热点中挖掘内容创作方向并生成配图+文案的完整工作流。

Registry SourceRecently Updated
General

飞书 Markdown 文档发布器,完美支持支持图片、表格

将 Markdown 文件发布为飞书(Feishu/Lark)在线文档。 支持完整的 Markdown 语法,包括标题、段落、表格、有序/无序列表、 待办事项、分隔线、加粗/斜体等富文本样式。 当用户需要将本地 Markdown 文件同步或发布到飞书文档时使用。

Registry SourceRecently Updated
General

Publish V3

One window, three emotions. Switch between Lover / Buddy / Rival anytime. Lightweight nurturing, mood persistence, gamified stats, auto-degradation dual mode...

Registry SourceRecently Updated
General

Startup Adaptation Strategist

Анализ и адаптация западных стартапов с проверенным PMF для быстрого запуска MVP на российском рынке с учётом санкций и локальных требований.

Registry SourceRecently Updated