discussions.getDiscussionCommentsCount
Name | Required | Type | Description |
---|---|---|---|
entityId | true | | |
entityType | true | |
Authorization
Session is requiredRequired permissions
- VALUABLE_ACCESS
Type
{ "commentsCount": "int", "entityId": "String", "entityType": [ "CHAT", "CITY_NEWS", "DZEN_ARTICLE", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_PRODUCT", "GROUP_TOPIC", "HAPPENING_TOPIC", "HOBBY_QUESTION", "MOVIE", "OFFER", "PRESENT", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_PRODUCT", "USER_STATUS" ] }
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