Twitter::friendsList
Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
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.
Signature
public function friendsList([string[optional]
$userId = NULL,
[string[optional]
$screenName = NULL,
[int[optional]
$cursor = NULL,
[bool[optional]
$includeEntities = NULL,
[bool[optional]
$skipStatus = NULL]]]]] )
Parameters
$userId
— object- The ID of the user for whom to return results for.
$screenName
— object- The screen name of the user for whom to return results for.
$cursor
— object- Causes the results to be broken into pages of no more than 20 records at a time. If no cursor is provided, a value of -1 will be assumed, which is the first "page."
$includeEntities
— object- The user object entities node will be disincluded when set to false.
$skipStatus
— object- When set to either true, t or 1 statuses will not be included in the returned user objects.
Returns
- array