• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Twitter REST API Method: oauth access_token

Page history last edited by Abraham Williams 14 years ago

<< Back to Twitter API Documentation

 

oauth/access_token

Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Section 6.3 of the OAuth 1.0 authentication flow

 

In addition, this endpoint can be used for xAuth, Twitter's implementation of browser-less token exchange.

 
At this time, OAuth authorization steps are not versioned in the URL.
 

URL:

http://api.twitter.com/oauth/access_token

 

Formats: 

OAuth HTTP Authorization Scheme

 

HTTP Method(s):

POST

 

API rate limited (about rate limiting):

false

 

Parameters:

 

Usage notes:

  • Only ASCII oauth_nonce values are accepted.

 

Usage examples: 

PHP:

TwitterOAuthLib; documentation; live demo, by @abraham

epicode; documentation; by @jmathai

PHP PECL Twitter example

 

Python:

Google App Engine example; live demo; by @tav and @tweetpros

Django example; by @dougireton

 

Ruby

Twitter Ruby on Rails OAuth tutorial

OAuth REST API client library; live demo, by @moomerman

 

.NET

OAuth with .NET; live demo, by @swhitley 

 

          Do you have an example to share in the language of your choice? Please share!

 

<< Back to Twitter API Documentation

Comments (0)

You don't have permission to comment on this page.