Skip to content

This code can twitter oauth authentication by python, django and tweepy.

License

Notifications You must be signed in to change notification settings

nysk/twitter_oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter_oauth

このコードは python と django, tweepy を使った twitter 認証のサンプルコードです. 2011 年 5 月 29 日に初 commit し, 有難いことにたま〜に fork したり star 付けてくれる方がおられるようなので, 気が向いたときにたま〜にメンテしたりしています. また, 練習がてらに README 書いてみたり, Licence 付けてみたり, いろいろ試しています.

Screenshot

Requirement

Django==1.3
flake8==2.2.4
mccabe==0.3
oauthlib==0.7.2
pep8==1.5.7
pyflakes==0.8.1
requests==2.6.2
requests-oauthlib==0.4.2
six==1.9.0
tweepy==3.3.0

Usage

virtualenv などで, 任意の環境名で環境を作ってください. 良くわからない場合はググってください.

$ git clone git@github.com:ketulive/twitter_oauth.git
$ cd twitter_oauth/twitter_oauth
$ pip install -r ../requirements.txt

twitter application management で アプリを作って CONSUMER_KEY と CONSUMER_SECRET を発行し,

$ vim oauth/views.py

などとしてあなたのものに差し替えてください.

そして最後に

$ python manage.py runserver --settings=settings

これで動くと思います.

Licence

MIT

Author

ketulive

About

This code can twitter oauth authentication by python, django and tweepy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published