TijsVerkoyen\Twitter\Twitter::usersSuggestionsSlugMembers PHP Method

usersSuggestionsSlugMembers() public method

Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
public usersSuggestionsSlugMembers ( string $slug ) : array
$slug string The short name of list or a category
return array
    public function usersSuggestionsSlugMembers($slug)
    {
        return $this->doCall('users/suggestions/' . (string) $slug . '/members.json', null, true);
    }

Usage Example

 /**
  * Tests Twitter->usersSuggestionsSlugMembers
  */
 public function testUsersSuggestionsSlugMembers()
 {
     $response = $this->twitter->usersSuggestionsSlugMembers('music');
     foreach ($response as $row) {
         $this->isUser($row);
     }
 }
Twitter