SuperAPI AI Directory

my-fetch-tweet

Writing & research

View repository

Updated 10-15 14:33

About this skill

My Fetch Tweet

A skill that fetches the original tweet, author information, and engagement data from an X/Twitter URL and provides them through a 3-stage pipeline of summary-insights-full translation.

API Integration — FxEmbed

Utilizes the API of the FxEmbed open-source project (api.fxtwitter.com). Tweet data can be extracted without JavaScript.

URL Conversion Rules

  1. From the URL, extract screen_name과 status_idextract the
  2. Convert the domain to api.fxtwitter.comconvert to
  3. Fetch JSON data with WebFetch
https://x.com/garrytan/status/123456
  → https://api.fxtwitter.com/garrytan/status/123456

Supported URL Formats

x.com, twitter.com, fxtwitter.com, fixupx.com

Key API Response Fields

Field Description
tweet.text Tweet body (URLs expanded)
tweet.author Author (name, screen_name, bio, followers)
tweet.likes / retweets / replies / views Engagement metrics
tweet.created_at Post date and time
tweet.media Attached media (photos, videos)
tweet.quote Quoted tweet (same structure)

Translation Pipeline — 3 Stages

Do not show the full translation right away. Provide it in stages to improve comprehension.

Stage 1: Summary (3-5 sentences)

  • Summarize the tweet's core claims in Korean
  • Include author information (name, follower count)
  • Include engagement metrics (likes, retweets, views)
  • "Grasp what this tweet is saying in 30 seconds"

Stage 2: Insights (3)

  • Key message: what this tweet really wants to say
  • Implications: meaning in the industry/trends
  • Application: what it means for me (the reader)

Stage 3: Full Translation

  • Translate the entire original text into natural Korean
  • If there is a quoted tweet, translate it as well
  • For technical terms, include the original text (e.g., "에이전트(Agent)")

WebFetch Fallback

If running the script is difficult, you can call the API directly with the WebFetch tool:

URL: https://api.fxtwitter.com/{screen_name}/status/{status_id}
Prompt: "Extract the full tweet text, author name, and engagement metrics"

Limitations

  • Tweets from private accounts cannot be viewed
  • Deleted tweets cannot be viewed
  • API rate limits follow the FxEmbed server policy