search api's rpp is now count in api 1.1
authorRaphael Velt <raph.velt@gmail.com>
Wed, 10 Apr 2013 18:38:21 +0200
changeset 880 ac8b456b8874
parent 879 f0d599e75860
child 881 165bb225e586
child 919 e126d3e1e186
search api's rpp is now count in api 1.1
web/res/js/live-polemic.js
--- a/web/res/js/live-polemic.js	Wed Apr 10 18:13:54 2013 +0200
+++ b/web/res/js/live-polemic.js	Wed Apr 10 18:38:21 2013 +0200
@@ -140,7 +140,7 @@
     options.rpp || (options.rpp = 100);
     options.currentPage = 0;
     var baseurl = "search_tweets.php",
-        firstparams = "?q=" + encodeURIComponent(options.keyword)+ "&rpp=" + options.rpp
+        firstparams = "?q=" + encodeURIComponent(options.keyword)+ "&count=" + options.rpp
             + (options.lang ? "&lang=" + options.lang : '' ),
         lastparams = (options.since_id ? "&since_id=" + options.since_id : '' ),
         jsonurl = baseurl + firstparams + lastparams;