free to post questions to tweepy@googlegroups.com
Each tutorial file is named tX.py where X is the tutorial number.
-Work your way from 1 and up.
+Work your way from 1 and up. These files should be runnable by python.
+Be sure the tweepy library is on your python path by either installing
+it on your system OR setting the PYTHONPATH environment variable.
+You can then run the tutorial like such:
+
+ python t1.py
+
Author: Joshua Roesslein
"""
+
twitter supplies you with at http://twitter.com/oauth_clients
You may also supply a callback URL as an optional parameter.
"""
-consumer_key = ''
-consumer_secret = ''
+consumer_key = 'ZbzSsdQj7t68VYlqIFvdcA'
+consumer_secret = '4yDWgrBiRs2WIx3bfvF9UWCRmtQ2YKpKJKBahtZcU'
oauth_auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
-oauth_auth_callback = tweepy.OAuthHandler(consumer_key, consumer_secret
+oauth_auth_callback = tweepy.OAuthHandler(consumer_key, consumer_secret,
'http://test.com/my/callback/url')
"""
token for later use, here's how...
"""
access_token_to_store = oauth_auth.access_token
+print 'Access token: %s' % access_token_to_store
"""
And to re-create the OAuthHandler with that access token later on...