Twython 1.3, OAuth support is now finally included and working. Ships with an example Django application to get people started with OAuth, entire library is refactored to not be a royal clusterfsck. Enjoy.
This commit is contained in:
parent
7ccf8a2baf
commit
eb5541e433
22 changed files with 2400 additions and 4492 deletions
9
oauth_django_example/urls.py
Normal file
9
oauth_django_example/urls.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
from django.conf.urls.defaults import *
|
||||
from twitter.views import twitter_begin_auth, twitter_thanks, twitter_logout, twitter_timeline
|
||||
|
||||
urlpatterns = patterns('',
|
||||
(r'^login/?$', twitter_begin_auth),
|
||||
(r'^/logout?$', twitter_logout),
|
||||
(r'^thanks/?$', twitter_thanks), # Where they're redirect to after authorizing
|
||||
(r'^timeline/?$', twitter_timeline),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue