O'Reilly logo

Sams Teach Yourself the Twitter API in 24 Hours by Chia Hwu, Jon Wu, Ben Ho, Christopher Peri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 22. Building Android Applications with Twitter

What You’ll Learn in This Hour:

Creating the Android OAuth application

Adding Java library

Creating a layout in main.xml

Adding Intent Filters and Permission

Using the Java OAuth library

Posting a tweet from an Android application

Using xAuth in an Android application

Using Twitter OAuth in Android

At the launch of the Twitter API platform, Twitter introduced Basic Authentication. Twitter allows developers to capture and save the username and password in the native app and use them to make all API calls directly. In August 2010, Twitter banned the use of Basic Auth due to security concerns. Twitter now supports both OAuth and xAuth.

Twitter accepts the use of OAuth and xAuth ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required