I am creating a twitter feed that gets specific hashtag. When im using generic hashtag such as #getaway, the result is fine. But if I use specific hashtag such as #gadgetshow2014, only one tweet appears. When I search from twitter itself there should be a lot of tweets.
Thanks in advance :)
Code:
$consumer_key=' ';
$consumer_secret=' ';
$access_token=' ';
$access_token_secret=' ';
$hashtag='gadgetshow2014';
$max_tweets = 25;
$twitter = new TwitterOAuth($consumer_key, $consumer_secret, $access_token, $access_token_secret);
$url = 'https://api.twitter.com/1.1/search/tweets.json?q=%23' . $hashtag . '&result_type=recent&count=' . $max_tweets . '&include_entities=true';
$tweets = $twitter->get($url);
$tweets = $tweets->statuses;
$max_tweets = 25;
, how many do you get? – Tom