@@ 1448-1455 (lines=8) @@ | ||
1445 | * @param string $id The id of the list. |
|
1446 | * @param string [optional] $cursor Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. |
|
1447 | */ |
|
1448 | public function userListMembers($user, $id, $cursor = null) |
|
1449 | { |
|
1450 | $parameters = null; |
|
1451 | if ($cursor != null) $parameters['cursor'] = (string)$cursor; |
|
1452 | ||
1453 | // make the call |
|
1454 | return (array)$this->doCall((string)$user . '/' . (string)$id . '/members.json', $parameters, true); |
|
1455 | } |
|
1456 | ||
1457 | /** |
|
1458 | * Add a member to a list. The authenticated user must own the list to be able to add members to it. Lists are limited to having 500 members. |
|
@@ 1525-1532 (lines=8) @@ | ||
1522 | * @param string $id The id of the list. |
|
1523 | * @param string [optional] $cursor Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. |
|
1524 | */ |
|
1525 | public function userListSubscribers($user, $id, $cursor = null) |
|
1526 | { |
|
1527 | $parameters = null; |
|
1528 | if ($cursor != null) $parameters['cursor'] = (string)$cursor; |
|
1529 | ||
1530 | // make the call |
|
1531 | return (array)$this->doCall((string)$user . '/' . (string)$id . '/subscribers.json', $parameters, true); |
|
1532 | } |
|
1533 | ||
1534 | /** |
|
1535 | * Make the authenticated user follow the specified list. |