Understanding the way OAuth works can help create and debug applications which use Twitter’s API. To use OAuth, an application must:
- Obtain access tokens to act on behalf of a user account.
- Authorize all HTTP requests it sends to Twitter’s APIs.
The following pages cover exactly how to obtain authorization through OAuth. If the process sounds like it is beyond the scope of your integration, consider using Web Intents, which do not need to use access tokens to interact with the Twitter API.
Most developers will not need to work with the details of OAuth, since Twitter Client Libraries already implement the protocol. It is strongly recommended to use one of these libraries.