It is recommended that applications cache this data for no more than one hour.
public usersSuggestionsSlug ( string $slug, string[optional] $lang = null ) : array | ||
$slug | string | The short name of list or a category. |
$lang | string[optional] | |
return | array |
/** * Tests Twitter->usersSuggestionsSlug */ public function testUsersSuggestionsSlug() { $response = $this->twitter->usersSuggestionsSlug('Twitter'); $this->assertArrayHasKey('size', $response); $this->assertArrayHasKey('name', $response); $this->assertArrayHasKey('slug', $response); $this->assertArrayHasKey('users', $response); foreach ($response['users'] as $row) { $this->isUser($row); } }