javascript - Twitter search api always return 15 tweets -
javascript - Twitter search api always return 15 tweets -
when phone call twitter search api, search on tweets hashtag, returns 15 tweets, though set count five.
$.ajax({ url:'http://search.twitter.com/search.json', type: 'get', datatype: 'jsonp', data: { q: %23twitter, count: 5 }, success: function(data, textstatus, xhr) { //some code } does knows problem?
edit: other parameters include_entities not working either.
try
data: { q: %23twitter, page : 1, rpp : 4 }, if want x number of tweets, set rpp x-1
javascript ajax twitter
Comments
Post a Comment