friends.getRelativesV2
Name | Required | Type | Description |
---|---|---|---|
uid | true | | |
friend_ids | false | | |
reltypes | false | | |
anchor | false | | |
direction | false | | |
count | false | |
Authorization
Session is requiredRequired permissions
- VALUABLE_ACCESS
Type
{ "anchor": "String", "etag": "String", "has_more": "Boolean", "relations": [ { "subtype_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "type_id": [ "ALL", "BROTHERSISTER", "CHILD", "CHILDINLAW", "CLASSMATE", "CLOSEFRIEND", "COLLEGUE", "COMPANIONINARMS", "CURSEMATE", "GODCHILD", "GODPARENT", "GRANDCHILD", "GRANDPARENT", "LOVE", "NEPHEW", "PARENT", "PARENTINLAW", "PLAYINGTOGETHER", "RELATIVE", "SPOUSE", "UNCLEAUNT" ], "uids": [ "String" ] } ], "totalCount": "Integer" }
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