X Tweet Fetch
Get a specific tweet by URL or ID.
Setup
export X_BEARER_TOKEN="your-token" # https://developer.x.com/en/portal/dashboard
Usage
${CLAUDE_PLUGIN_ROOT}/scripts/fetch.sh <url_or_id>
Examples
# By URL
${CLAUDE_PLUGIN_ROOT}/scripts/fetch.sh "https://x.com/kurtwuckertjr/status/1234567890"
# By ID
${CLAUDE_PLUGIN_ROOT}/scripts/fetch.sh 1234567890
Response Fields
text- Tweet contentcreated_at- Post timestamppublic_metrics- Likes, retweets, replies, viewsauthor- User info (expanded)entities- URLs, mentions, hashtags
References
- https://docs.x.com/llms.txt
- https://developer.x.com/en/docs/x-api/tweets/lookup