fxtwitter

TotalClaw 作者 totalclaw

使用 fxTwitter API (api.fxtwitter.com) 从 X (Twitter) 链接获取推文/帖子数据。当用户发送 x.com 或 twitter.com URL 并想要阅读、总结或提取推文内容时使用。无需授权。返回完整的推文元数据,包括文本、作者、媒体和参与统计数据。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~namphamdev-fxtwitter
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~namphamdev-fxtwitter/file -o namphamdev-fxtwitter.md
# fxTwitter

Fetch tweet data from an X/Twitter URL without auth or browser automation.

## Endpoint

```
GET https://api.fxtwitter.com/:tweetId
```

Extract the tweet ID from the URL:
- `https://x.com/user/status/1234567890` → ID: `1234567890`
- `https://twitter.com/user/status/1234567890` → ID: `1234567890`

## Usage

```bash
curl -s "https://api.fxtwitter.com/1234567890" | jq '.tweet'
```

Key fields in `.tweet`:
- `.text` — tweet content
- `.author.name` / `.author.screen_name`
- `.created_at`
- `.likes`, `.retweets`, `.replies`
- `.media.photos[]`, `.media.videos[]`
- `.url` — canonical URL

## Output Format

When presenting a tweet to the user:
- Lead with TL;DR if the tweet is long
- Use bullet points for key info
- Keep it concise — no filler

---

## 中文说明

# fxTwitter

无需授权或浏览器自动化,即可从 X/Twitter 链接获取推文数据。

## Endpoint

```
GET https://api.fxtwitter.com/:tweetId
```

从 URL 中提取推文 ID:
- `https://x.com/user/status/1234567890` → ID: `1234567890`
- `https://twitter.com/user/status/1234567890` → ID: `1234567890`

## Usage

```bash
curl -s "https://api.fxtwitter.com/1234567890" | jq '.tweet'
```

`.tweet` 中的关键字段:
- `.text` — 推文内容
- `.author.name` / `.author.screen_name`
- `.created_at`
- `.likes`、`.retweets`、`.replies`
- `.media.photos[]`、`.media.videos[]`
- `.url` — 规范 URL

## Output Format

向用户展示推文时:
- 如果推文较长,先给出 TL;DR(要点摘要)
- 使用项目符号列出关键信息
- 保持简洁——不要冗余内容