users.getInvitableFriends

Retrieves a list of friends to be invited to games

NameRequiredTypeDescription
suggestOnly false boolean

true to only retain friends who already play the game (to be used with viral mechanics like suggest)

Authorization

Session is required

Required permissions

  • VALUABLE_ACCESS

NB! Method is closed by default, write to api-support@ok.ru to open it for your game

Type

{ "users": [ { "selectable": "boolean", "uid": "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