开发者

Twython auth 'how to get authorized'

开发者 https://www.devze.com 2023-02-09 00:54 出处:网络
I\'m working on a Twitter desktop application with Twython literary and I have a problem with OAuth. How can I get an OAuth token and开发者_如何学Go secret

I'm working on a Twitter desktop application with Twython literary and I have a problem with OAuth. How can I get an OAuth token and开发者_如何学Go secret

Is the token only needed for the first time? Or will I need it every time I get tweets or status updates?

I'm using pyqt is there another GUI that is lighter and simpler to use than qt that is not tkinter?


you need to authenticate your users with 2 steps:

The begin_auth, where the user can aprove your app, and next the login_thanks screen where you can extract the data from user...

I get this working with django+twython, see more detailed info here: https://github.com/ryanmcgrath/twython-django/blob/master/twython_django_oauth/views.py

0

精彩评论

暂无评论...
验证码 换一张
取 消