Hi, python-twitter seems pretty comprehensive from a code standpoint, but the docs leave out a bunch of key details. In particular, how to actually provide a login flow for a "login with Twitter" mechanism.
When I register an app I only have a client_key/client_secret, and while I can figure out from other examples how to get an access_token_key/access_token_secret through a CLI/PIN flow, I have no idea how to use python-twitter to get them via web callback. Basically, what's missing from any of the examples I can find online:
How to generate the Twitter login URL (with the oauth_token/callback/etc.)
How to use the results of the callback to get the access token so that I can do the other things with the (well-documented) API
Are there any examples out there, and could those be added to the docs?
Hi, python-twitter seems pretty comprehensive from a code standpoint, but the docs leave out a bunch of key details. In particular, how to actually provide a login flow for a "login with Twitter" mechanism.
When I register an app I only have a
client_key
/client_secret
, and while I can figure out from other examples how to get anaccess_token_key
/access_token_secret
through a CLI/PIN flow, I have no idea how to use python-twitter to get them via web callback. Basically, what's missing from any of the examples I can find online:oauth_token
/callback
/etc.)Are there any examples out there, and could those be added to the docs?
Thanks!