Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 398 Bytes

File metadata and controls

12 lines (8 loc) · 398 Bytes

twitter_application_auth

Python example of Twitter API 1.1 Application-Only Authentication, as specified at

https://dev.twitter.com/docs/auth/application-only-auth

You'll need to fill in your CONSUMER_KEY and CONSUMER_SECRET

Generates a bearer token you can use for application-only authentication in your twitter apps, and issues a sample request using the token.