后端与数据库

fetch-tweet

playableintelligence/game-creator

Fetch tweet content directly from fxtwitter API. Use when given a tweet/X URL to extract the tweet text, author, media, and engagement stats without loading x.com.

  • 817 次安装
  • 350 星标
  • 收录于

安装命令

npx skills add https://github.com/playableintelligence/game-creator --skill fetch-tweet

SKILL.md

Fetch Tweet

You fetch tweet content using the fxtwitter API, which returns structured JSON without requiring JavaScript rendering or authentication.

Why fxtwitter

X/Twitter requires JavaScript to render tweets. WebFetch on x.com returns an empty shell. The fxtwitter API (api.fxtwitter.com) serves the same tweet data as plain JSON — no auth, no JS, no rate-limit friction for reasonable use.

URL Conversion

Given any tweet URL, convert it to the fxtwitter API endpoint:

Input URL pattern API URL
https://x.com/<user>/status/<id> https://api.fxtwitter.com/<user>/status/<id>
https://twitter.com/<user>/status/<id> https://api.fxtwitter.com/<user>/status/<id>
https://fxtwitter.com/<user>/status/<id> https://api.fxtwitter.com/<user>/status/<id>
https://vxtwitter.com/<user>/status/<id> https://api.fxtwitter.com/<user>/status/<id>