Created
April 27, 2012 21:51
-
-
Save aparrish/2513692 to your computer and use it in GitHub Desktop.
foxnews tweets
This file contains hidden or 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
import urllib | |
import json | |
resp = urllib.urlopen("https://api.twitter.com/1/statuses/user_timeline.json?screen_name=foxnews&count=200") | |
tweets = json.loads(resp.read()) | |
for tweet in tweets: | |
print tweet['text'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment