Reputation: 8251
I want to integrate Twitter with my Android application. Can I do this using OAuth 2.0?
I have searched the internet but couldn't find any good explanation regarding this. If anyone has done this before, can you please guide me through this. I saw in a old post here that Twitter doesn't support OAuth 2.0.
Upvotes: 5
Views: 2991
Reputation: 11
This might be of interest:
"... we're releasing our application-only authentication scheme, based on the OAuth 2.0 client credentials flow."
Posted to dev.twitter 2013-03-11 https://dev.twitter.com/blog/application-only-authentication (current: https://blog.twitter.com/developer/en_us/a/2013/application-only-authentication.html)
Upvotes: 1
Reputation: 7415
Basically, no, Twitter still uses OAuth 1.0a for most parts of their backend. Since march however, they support the OAuth 2 client credentials flow for application-only authentication.
This means, if you:
You should check out the Twitter4J library, which abstracts most of the OAuth 1 hassle away from you.
Upvotes: 9