Text Details
|
import urllib2
import json
screen_name = "wordpress"
url = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=" + screen_name
data = json.load(urllib2.urlopen(url))
print len(data), "tweets"
for tweet in data:
print tweet['text']
—
Tweet Search using Python
(other)
by www.pythonforbeginners.com
|
| Language: | English |
This text has been typed
more than
1000 times:
| Avg. speed: | 44 WPM |
|---|---|
| Avg. accuracy: | 95.1% |