x-twitter
SKILL.md
X (Twitter) API
Search tweets, retrieve article content, and fetch trending topics from X (Twitter).
Features
- Search Tweets: Search recent tweets (last 7 days) with advanced query operators
- Get Article Content: Retrieve tweet and article details by URL or ID
- Trending Topics: Fetch trending topics (requires Basic tier or higher)
- User Info: Get user profile and tweet history
Setup
# Set environment variable
export X_BEARER_TOKEN="your_bearer_token_here"
# Or temporarily for this session
X_BEARER_TOKEN="your_token" python3 scripts/search_tweets.py