API Reference

Friends.removeFriend

This function allows you to delete a friendship between 2 users.


Syntax

bool friends.removeFriend ( int vhostId, int uid1, int uid2 = NULL )

Arguments

NameTypeRequiredDefault valueDescription
vhostIdintRequirednoneThe ID of the application the users are in
uid1intRequirednoneThe ID of the first user
uid2intOptionalNULLThe ID of the second user, defaults to current user

Response

Upon success the response will be 1.

NameTypeDescription
responseINTThe response will be 1.

Sample Response

Code examples

0 comments

Be the first to comment on removeFriend.

Add a Comment

  • captcha