JTwitterFriends::getFriendIds
Method to get an array of user IDs the specified user follows.
Signature
public function getFriendIds(mixed
$user,
[integer
$cursor = null,
[boolean
$string_ids = null,
[integer
$count = 0]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$cursor
- Causes the list of connections to be broken into pages of no more than 5000 IDs at a time.
-
$string_ids
- Set to true to return IDs as strings, false to return as integers.
-
$count
- Specifies the number of IDs attempt retrieval of, up to a maximum of 5,000 per distinct request.
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException