private function TwitterBlockSearch::searchHashtag in Twitter Block 7
Same name and namespace in other branches
- 6 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 149 - 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;
}