Developers » API methods » Friends » friends.edit
Edits the friend lists of the selected user.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: friends.
user_idID of the user whose friend list is to be edited.
positive number, required parameter
list_idsIDs of the friend lists to which to add the user.
list of comma-separated positive numbers
Returns 1 if succeeded.
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
messages.getHistory method can use rev parameter with start_message_id parameter. start_message_id can be equal 0. friends.edit method return error if specified wrong value of list_ids parameter: Code: 100, Message: invalid list_ids.