Install
Authenticate
Basic example
Look up a profile and paginate followers:Workflow: search tweets
Workflow: post a tweet
Write actions need a Twitter cookie orauth_token on the request:
Error handling
The SDK returns typed errors for HTTP failures. Checkerr from each call and inspect status codes before retrying 4xx responses.
Configure retries with WithRetryConfig on the client or per-operation options.
References
- SDKs overview
- Authentication
- Terraform provider (wraps this Go SDK)
- Advanced Twitter Search
- Source Repository