JTwitterLists::addMembers
Method to add multiple members to a list, by specifying a comma-separated list of member ids or screen names.
Signature
public function addMembers(mixed
$list,
[string
$user_id = null,
[string
$screen_name = null,
[mixed
$owner = null]]] )
Parameters
-
$list
- Either an integer containing the list ID or a string containing the list slug.
-
$user_id
- A comma separated list of user IDs, up to 100 are allowed in a single request.
-
$screen_name
- A comma separated list of screen names, up to 100 are allowed in a single request.
-
$owner
- Either an integer containing the user ID or a string containing the screen name of the owner.
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException