make_friendship


Creates a friendship between two users.

Parameters

Name Description
userID required User ID of the user performing the action.
newFriend required User ID of the user who is going to become a new friend.
status optional Name of the friendship status type.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/svcFriendship?action=makeFriend&userID=229751571&newFriend=229829209&devkey=[devkey]

JSON Response