friends.getRelatives

NameRequiredTypeDescription
uid true String
reltypes true ApiRelationType[]

Authorization

Session is required

Required permissions

  • VALUABLE_ACCESS

Type

[ { "are_friends": "Boolean", "relation_types": [ [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ] ], "uid1": "String", "uid2": "String" } ]

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig