usersSuggestions() 공개 메소드

Access to Twitter's suggested user list. This returns the list of suggested user categories. The category can be used in usersSuggestionsSlug to get the users in that category.
public usersSuggestions ( string[optional] $lang = null ) : array
$lang string[optional]
리턴 array
예제 #1
0
 /**
  * Tests Twitter->usersSuggestions
  */
 public function testUsersSuggestions()
 {
     $response = $this->twitter->usersSuggestions();
     foreach ($response as $row) {
         $this->assertArrayHasKey('size', $row);
         $this->assertArrayHasKey('name', $row);
         $this->assertArrayHasKey('slug', $row);
     }
 }