friendsList() public method

At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information.
public friendsList ( string[optional] $userId = null, string[optional] $screenName = null, int[optional] $cursor = null, bool[optional] $includeEntities = null, bool[optional] $skipStatus = null ) : array
$userId string[optional]
$screenName string[optional]
$cursor int[optional]
$includeEntities bool[optional]
$skipStatus bool[optional]
return array
Example #1
0
 /**
  * Tests Twitter->friendsList
  */
 public function testFriendsList()
 {
     $response = $this->twitter->friendsList(null, 'tijsverkoyen');
     $this->assertArrayHasKey('users', $response);
     $this->assertArrayHasKey('next_cursor', $response);
     $this->assertArrayHasKey('previous_cursor', $response);
 }