Unfriends or unfollows a user. If there’s an outgoing friend request, cancels it. If there’s an incoming friend request, rejects it, same as the “leave as a follower” button on the web.
This method requires the following permissions: friends.
Parameters
user_id
integer
(positive)
Target user identifier.
Result
Returns one of the following:
friend_deleted– the target user was the current user’s friend and was removed from the friend listunfollowed– the current user was non-mutually following the target user, but there was no outgoing friend requestout_request_deleted– there was an outgoing friend request and it was deletedin_request_deleted– there was an incoming friend request and it was deleted