This commit is contained in:
lucadex 2012-07-24 02:51:18 -07:00
commit 040d60cd6b
2 changed files with 2 additions and 2 deletions

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'])

View file

@ -1,2 +1,2 @@
from twython import Twython
from twython import TwythonError, TwythonAPILimit, TwythonAuthError
from twython import TwythonError, TwythonRateLimitError, TwythonAuthError