Update core_examples/search_results.py

This commit is contained in:
lucadex 2012-07-24 12:46:16 +03:00
parent c5468ee1b5
commit ee94028854

View file

@ -2,7 +2,7 @@ from twython import Twython
""" Instantiate Twython with no Authentication """
twitter = Twython()
search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50")
search_results = twitter.search(q="WebsDotCom", rpp="50")
for tweet in search_results["results"]:
print "Tweet from @%s Date: %s" % (tweet['from_user'].encode('utf-8'),tweet['created_at'])