When I call the twitter search API, to search on tweets with a certain hashtag, it always returns 15 tweets, even though I set the count to 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 anyone knows what could be the problem?
EDIT: Other parameters like include_entities are not working either.
try
if you only want to get X number of tweets, set rpp to X-1