Merge pull request #220 from Rolinh/fix/example/search

search example update: twitter API v1.1 has replaced "rpp" by "count"
This commit is contained in:
Mike Helmick 2013-06-17 09:28:42 -07:00
commit 98469c2968

View file

@ -3,7 +3,7 @@ from twython import Twython, TwythonError
# Requires Authentication as of Twitter API v1.1
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
try:
search_results = twitter.search(q='WebsDotCom', rpp='50')
search_results = twitter.search(q='WebsDotCom', count=50)
except TwythonError as e:
print e