discussions.getDiscussions ✎ Edit on GitHub

NameRequiredTypeDescription
entityTypes false ApiDiscussionType[]
category false ApiDiscussionTypeFilter
offset false Integer
count false Integer

Authorization

Session is required

Required permissions:

  • VALUABLE_ACCESS

Response

{ "discussions": [ { "entityId": "String", "entityOwnerId": "String", "entityType": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ], "lastActivityDate": "Date", "lastUserAccessDate": "Date", "newCommentsCount": "short", "parentEntityId": "String", "parentSubjectLabel": "String", "subjectLabel": "String", "totalCommentsCount": "int" } ], "offset": "int", "totalCount": "int" }

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