apps.setAppPromoInfo ✎ Edit on GitHub

Sets information about application promo action.

NameRequiredTypeDescription
topic_id true Long

Game’s group topic ID with full description of the action and link to the application.
Topic must contain a link to your application at OK.ru and has to be public

text true String

The action’s short description. Allowed length: from 8 to 48 characters

start_time true String

Action start time in yyyy.MM.dd HH:mm format
Must always be set to start in future

end_time true String

Action end time in yyyy.MM.dd HH:mm format

image304x128 true String

Promo action image URL
Required image size: 304x128

Authorization

Session is prohibited

Required permissions:

  • VALUABLE_ACCESS

Promo period can not be longer than 3 days.

Response

{ "anchor": "String", "etag": "String", "has_more": "Boolean", "success": "boolean", "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