O'Reilly logo

The Developer’s Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API by Mark D. Hawker

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

3 Authentication with Twitter OAuth

Chapter 2, “Exploring the Twitter API and Search API,” covered the various Twitter API and Search API methods using cURL and twitter-async using Basic Authentication. Basic Authentication is by no means unique to Twitter, and many sites and social services also use the same mechanism for user authentication. However, requiring a user’s password even over a secure connection such as HTTPS can present security concerns. Although the barrier to entry is higher for an OAuth implementation in comparison to Basic Authentication, it is an essential tool for accessing the Twitter API because Basic Authentication will be deprecated in the future.

This chapter investigates Twitter’s implementation of OAuth as an alternative ...

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