Commit 2225a591 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Update tutorials.

parent 820d423c
......@@ -8,7 +8,14 @@ If you get lost on your journey to becoming a Tweepy guru, feel
free to post questions to
Each tutorial file is named 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:
Author: Joshua Roesslein
......@@ -24,10 +24,10 @@ You must supply the handler both your consumer key and secret which
twitter supplies you with at
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,
......@@ -52,6 +52,7 @@ Okay we are all set then with OAuth. If you want to store the access
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...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment