Created
June 6, 2016 21:08
-
-
Save Maddosaurus/67d52c71c86fc6fd9b8a277443f834ea to your computer and use it in GitHub Desktop.
Snakes on a Twitter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# easy_install twitter | |
from twitter import * | |
token = ACCESS_TOKEN | |
token_key = ACCESS_TOKEN_SECRET | |
con_secret_key = CONSUMER_SECRET | |
con_secret = CONSUMER_KEY | |
t = Twitter(auth=OAuth(token, token_key, con_secret, con_secret_key)) | |
x = t.statuses.home_timeline() | |
x[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment