March 2019
Beginner
490 pages
12h 40m
English
We now have enough information for authenticating requests. Twitter uses an authentication standard called OAuth, version 2.0. It's described in detail at http://oauth.net/.
OAuth credentials comprise of two main elements, consumer and access. The consumer element identifies our application and the access element proves that the account the access credentials came from authorized our app to act on its behalf. Twitter lets us acquire the access credentials directly from the dev.twitter.com interface.
The OAuthLib library (https://oauthlib.readthedocs.io/en/latest) is a library that allows authentication to a server using the OAuth protocol. Sites such as Facebook, Twitter, LinkedIn, GitHub, and Google, among ...
Read now
Unlock full access