The Developer’s Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API
by Mark D. Hawker
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access