JTwitterLists::getSubscriptions
Method to get a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
Signature
public function getSubscriptions(mixed
$user,
[integer
$count = 0,
[integer
$cursor = null]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$count
- The amount of results to return per page. Defaults to 20. Maximum of 1,000 when using cursors.
-
$cursor
- Breaks the results into pages. Provide a value of -1 to begin paging.
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException