X User Timeline
Get recent tweets from a specific user.
Setup
export X_BEARER_TOKEN="your-token" # https://developer.x.com/en/portal/dashboard
Usage
${CLAUDE_SKILL_DIR}/scripts/timeline.sh <username> [max_results]
Examples
# Get 10 recent tweets (default)
${CLAUDE_SKILL_DIR}/scripts/timeline.sh kurtwuckertjr
# Get 25 tweets
${CLAUDE_SKILL_DIR}/scripts/timeline.sh kurtwuckertjr 25
Response Fields
text- Tweet contentcreated_at- Post timestamppublic_metrics- Likes, retweets, replies, viewsauthor- User info (expanded)
Pricing and Rate Limits
X API access is pay-per-use. Read the endpoint's rate-limit response headers and consult the current X API pricing and rate-limit documentation instead of assuming a fixed free-tier quota.
References
- https://docs.x.com/llms.txt
- https://developer.x.com/en/docs/x-api/tweets/timelines