public function Twitter::blocks_list in Twitter 7.6
Same name and namespace in other branches
- 6.5 twitter.lib.php \Twitter::blocks_list()
- 7.5 twitter.lib.php \Twitter::blocks_list()
Returns a collection of user objects that the authenticating user is blocking.
Parameters
array $params: An array of parameters.
Return value
A TwitterAccount object or FALSE.
See also
https://dev.twitter.com/docs/api/1.1/get/blocks/list
File
- ./
twitter.lib.php, line 1067 - Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1
Class
- Primary Twitter API implementation class
Code
public function blocks_list($params = array()) {
$values = $this
->call('blocks/list', $params, 'GET');
if (!$values) {
return FALSE;
}
return new TwitterAccount($values);
}