private function TwitterBlockSearch::getReplies in Twitter Block 6
Same name and namespace in other branches
- 7 twitter_block.class.php \TwitterBlockSearch::getReplies()
Returns the most recent @replies to $twittername.
Parameters
string $twittername to search. Note: begins with @.:
Return value
string JSON encoded search response
File
- ./
twitter_block.class.php, line 142 - Lightweight implementation of the Twitter API in PHP.
Class
- TwitterBlockSearch
- TwitterBlockSearch provides the class for using the Twitter Search API.
Code
private function getReplies() {
$this->options['q'] = "to:{$this->twitter_name}";
$json = $this
->search();
return $json;
}