Extended example

This commit is contained in:
Daniel 2012-02-23 21:13:08 +01:00
parent eca965715e
commit bb99c90f1a

View file

@ -5,4 +5,5 @@ twitter = Twython()
search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50")
for tweet in search_results["results"]:
print tweet["text"]
print "Tweet from @%s Date: %s" % (tweet['from_user'].encode('utf-8'),tweet['created_at'])
print tweet['text'].encode('utf-8'),"\n"