widget.getWidgets

Retrieves UI widgets to build into your app

NameRequiredTypeDescription
wids true String[]

Widget ids

style false String

Widget style (applied for all requested widgets. if any of them does not support the style, it will be loaded with a default one)

Authorization

Session is optional (for External applications - required)

Required permissions

  • VALUABLE_ACCESS

See mobile widgets

Content returns encoded in Base64. Processing sample:

OKSDK.Util.decodeUtf8(atob(data[i].content)

Type

[ { "cache": "Integer", "content": [ "byte" ], "content_type": "String", "id": "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