Skip to content

Instantly share code, notes, and snippets.

@aparrish
Created April 27, 2012 21:51
Show Gist options
  • Save aparrish/2513692 to your computer and use it in GitHub Desktop.
Save aparrish/2513692 to your computer and use it in GitHub Desktop.
foxnews tweets
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