Merge pull request #107 from lucadex/master

Bugs fixed as described on Twitter yesterday to Ryan McGrath
This commit is contained in:
Ryan McGrath 2012-07-24 11:52:14 -07:00
commit 5c5dea109e
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