JTwitterFriends::updateFriendship
Allows one to enable or disable retweets and device notifications from the specified user.
Signature
public function updateFriendship(mixed
$user,
[boolean
$device = null,
[boolean
$retweets = null]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the screen name.
-
$device
- Enable/disable device notifications from the target user.
-
$retweets
- Enable/disable retweets from the target user.
Returns
- array
- The decoded JSON response
Errors/Exceptions
-
RuntimeException