]> projects.mako.cc - twitter-api-cdsw-solutions/blobdiff - twitter-stream2.py
Changed everything to ASCII. I'm worried we'll lose the forest for the \u1f332
[twitter-api-cdsw-solutions] / twitter-stream2.py
index 59e0cf27033393cf33d009ba9e0adefa7e37d218..ce905ead89cc63880f680b6e17101ccbe830a201 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?