X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/d290f57987892b63c119e715d4663b3cb6bba9e9..c0c66ba0ebe25c1ddc446111dc29a1e6fc07b367:/twitter/oauth.py diff --git a/twitter/oauth.py b/twitter/oauth.py index f13ef22..dcc062c 100644 --- a/twitter/oauth.py +++ b/twitter/oauth.py @@ -22,6 +22,8 @@ strings in the file. Not terribly exciting. Finally, you can use the OAuth authenticator to connect to Twitter. In code it all goes like this:: + from twitter import * + MY_TWITTER_CREDS = os.path.expanduser('~/.my_app_credentials') if not os.path.exists(MY_TWITTER_CREDS): oauth_dance("My App Name", CONSUMER_KEY, CONSUMER_SECRET,