JTwitterBlock::block
Method to block the specified user from following the authenticating user.
Signature
public function block(mixed
$user,
[boolean
$entities = null,
[boolean
$skip_status = null]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$entities
- When set to either true, t or 1, each tweet will include a node called "entities,". This node offers a
-
$skip_status
- When set to either true, t or 1 statuses will not be included in the returned user objects.
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException