What problem does it solve?
Enable reliable programmatic interaction with X (formerly Twitter) so developers and automation systems can post tweets and threads, read timelines and user data, perform searches, and collect engagement analytics without manual API research or ad-hoc implementations.
Core Features & Use Cases
- Posting & Threads: OAuth 1.0a write flows for single tweets, threaded conversations, and media-attached posts.
- Reading & Search: OAuth 2 bearer token read flows for timelines, user lookups, and recent search queries.
- Media Uploads & Analytics: Guidance for v1.1 media uploads, public_metrics tracking, and engagement monitoring.
- Rate Limits & Error Handling: Best practices to read rate-limit headers, back off safely, and handle common API errors.
- Integration: Recommended patterns to combine brand-voice and content-engine outputs with approval gates before publishing.
Quick Start
Post a tweet with the text 'Hello from Claude Code' using OAuth 1.0a credentials, return the posted tweet ID, and handle rate-limit and error responses.