badges.getUserOwnedBadges
Method is available for whitelisted apps only. To enable this method in your app please send a request to api-support@ok.ru email
Checks if user has specified badges in their collection
Name | Required | Type | Description |
---|---|---|---|
ids | true | | List of badge ids |
Authorization
Session is requiredRequired permissions
- VALUABLE_ACCESS
Type
{ "owned_badges": [ "Integer" ], "success": "boolean" }
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