private function TwitterBlockSearch::searchHashtag in Twitter Block 6
Same name and namespace in other branches
- 7 twitter_block.class.php \TwitterBlockSearch::searchHashtag()
Returns the most recent tweets containing a string or hashtag.
Parameters
string $hashtag to search. May or may not begin with #.:
Return value
string JSON encoded search response
File
- ./
twitter_block.class.php, line 154 - Lightweight implementation of the Twitter API in PHP.
Class
- TwitterBlockSearch
- TwitterBlockSearch provides the class for using the Twitter Search API.
Code
private function searchHashtag() {
$this->options['q'] = $this->search_string;
$json = $this
->search();
return $json;
}