Search Tweets API 1.1 with Hashtags as Keyword has Limited Output


#1

Hi Twitter staffs,

I am developing this code to get the tweets from a certain hashtags using tmoAuth:

	$code = $tmhOAuth->request('GET', $tmhOAuth->url('1.1/search/tweets'), array(
		'include_entities' => '1',
		'include_rts'	=> '1',
		'q'				   => '#UnionPay',
		'count'            => 100,
	));

However, instead of many tweets (as displayed in Search feature in twitter.com), I only get 2 results as the response for this.
Is there something that I miss?

I also do different hashtag keyword, and I get less than 10 results as well.

It works just fine for the same keyword without the hashtag symbol (#)

Please help
And thanks in advance.

Regards,
R


#2

Forgot to mention that it works just fine for the same keyword without the hashtag symbol (#)


#3

It looks like the hashtag #unionpay hasn’t been used much in the last week or so – the Search API can only return results from about a week into the past.


#4

@Episod: The keyword ‘unionpay’ (without hashtag) can return 100 tweets which is beyond next week, so this must not be the issue.


#5

Just as @episod said the hashtag #unionpay isn’t used much, the word unionpay is used a lot more thats why you get different results. If you search for #unionpay you’ll only get tweets with the hashtag and not tweets were just unionpay is mentioned.

https://twitter.com/search?q=%23unionpay&src=typd <-- Hashtag
https://twitter.com/search?q=unionpay&src=typd <-- Non-hashtag