Created
November 16, 2012 07:45
-
-
Save colwilson/4085206 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def twitter_factory(oauth): | |
return oauth.remote_app('twitter', | |
base_url='https://api.twitter.com/1/', | |
request_token_url='https://api.twitter.com/oauth/request_token', | |
access_token_url='https://api.twitter.com/oauth/access_token', | |
authorize_url='https://api.twitter.com/oauth/authenticate', | |
consumer_key='***************MY_KEY****************', | |
consumer_secret='*************MY_SECRET**************' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment