Usage note: It is only possible to retrieve the first 1000 matches from this API.
public usersSearch ( string $q, int[optional] $page = null, int[optional] $count = null, bool[optional] $includeEntities = null ) : array | ||
$q | string | The search query to run against people search. |
$page | int[optional] | |
$count | int[optional] | |
$includeEntities | bool[optional] | |
return | array |
/** * Tests Twitter->usersSearch */ public function testUsersSearch() { $response = $this->twitter->usersSearch('Twitter API'); foreach ($response as $row) { $this->isUser($row); } }