Installation
SKILL.md
Twitter / X
Search tweets, get user profiles, and query timelines via the Twitter API v2.
Environment Variables
TWITTER_BEARER_TOKEN- Bearer token
Search tweets
curl -s -H "Authorization: Bearer $TWITTER_BEARER_TOKEN" \
"https://api.twitter.com/2/tweets/search/recent?query=SEARCH_QUERY&max_results=10&tweet.fields=created_at,public_metrics" | jq '.data[] | {id, text, created_at, metrics: .public_metrics}'