Add the specified user as a contact.

This method requires a token with write permission.

Parameters

Log in to enter Playground
Name Type Description
oauth_token string (required) The access token for the acting user.
user_id string (required) The ID number or username of the user.

Error Codes

Code Message Explanation
99 Insufficient permissions The user does not have permission to do that.
3 Too many contacts The specified user already has the maximum number of contacts allowed.
2 User already a contact The specified user is already a contact of the calling user.
95 Not allowed The user is not allowed to perform that action.

activity

albums

categories

channels

contacts

groups

groups.forums

oauth

people

test

videos

videos.comments

videos.embed

videos.upload