X Tweet Fetcher
Fetch full tweets, long tweets, quoted tweets, and X Articles from X/Twitter without login or API keys, using no dependencies and zero configuration.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 12 · 3.2k · 40 current installs · 41 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name and description claim fetching tweets without API keys using a public proxy (FxTwitter). The included script implements exactly that (calls https://api.fxtwitter.com/...), uses only the stdlib, and requires no credentials — these requirements are proportionate to the stated purpose.
Instruction Scope
SKILL.md and the script restrict runtime behavior to parsing tweet URLs and making HTTP requests to the FxTwitter API; they do not instruct reading unrelated files, environment variables, or transmitting data to unexpected endpoints. Reply fetching is explicitly not implemented.
Install Mechanism
No install spec is provided (instruction-only with a single Python script). Nothing is downloaded or extracted by the skill itself; risk from installation is minimal.
Credentials
The skill declares no required environment variables, binaries, or credentials and the code does not read env vars or config paths. No disproportionate secrets access is requested.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system configuration. It does not request permanent presence or extra privileges.
Assessment
This skill appears to do what it says: it fetches tweets by calling the FxTwitter public proxy and uses only Python stdlib. Before installing, consider that: (1) it relies entirely on the third-party FxTwitter service — if that service is unavailable or changes behavior, the skill will fail or could return different data; (2) using a proxy means tweet content is routed through a third party (privacy/terms-of-service implications); and (3) while the skill itself requests no credentials or special privileges, you should still be comfortable with outbound network access to api.fxtwitter.com. If you need stronger guarantees (availability, privacy), consider hosting a trusted proxy or using an official API with credentials.Like a lobster shell, security has layers — review code before you run it.
Current versionv0.1.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
X Tweet Fetcher
Fetch tweets from X/Twitter without authentication. Uses FxTwitter API.
What It Can Fetch
| Content Type | Support |
|---|---|
| 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_countfield)- Reply content would require browser automation dependencies (Camofox/Nitter)
- These were removed to maintain zero-dependency architecture
--repliesflag 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)
Files
3 totalSelect a file
Select a file to preview.
Comments
Loading comments…
