]> projects.mako.cc - twitter-api-cdsw/blobdiff - twitter-stream1.py
Changed everything to ASCII. I'm worried we'll lose the forest for the \u1f332
[twitter-api-cdsw] / twitter-stream1.py
index 1127d4a22117839603c8787d03fcf901681825c8..06f7be07d3046b523e9ff79b789aef17cfacbb00 100644 (file)
@@ -1,7 +1,7 @@
 import tweepy
-from twitter_authentication import API_KEY, API_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
+from twitter_authentication import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
 
-auth = tweepy.OAuthHandler(API_KEY, API_SECRET)
+auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
 auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
 
 api = tweepy.API(auth)

Benjamin Mako Hill || Want to submit a patch?