From 7c0739d9412f73250ece14a2e36147aae00feb40 Mon Sep 17 00:00:00 2001 From: Robin Hahling Date: Sun, 16 Jun 2013 13:34:19 +0200 Subject: [PATCH] twitter API v1.1 as replaced "rpp" by "count" thus update the search example --- examples/search_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/search_results.py b/examples/search_results.py index 8c4737a..9984139 100644 --- a/examples/search_results.py +++ b/examples/search_results.py @@ -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