photos.createAlbum
Creates a photo album for the specified user
Name | Required | Type | Description |
---|---|---|---|
uid | false | | The ID of the user on whose behalf you want to create the album. Specify uid when calling this method without session key |
gid | false | | Identifier of the group where album will be created |
title | true | | Name of the photo album to be created |
description | false | | Description of the photo album to be created. Considered only if the gid parameter is not specified |
type | false | | Photo album visibility. Considered only if the gid parameter is not specified |
photo_book_settings | false | | Photo book settings. Specify if you want the created album to be a photo book. Such an album visually looks like a photo album from life: a book with frames for photos. Only the design_id and is_photo_book fields need to be passed. You can get the available settings via method photoBook.getDesignSettings |
Authorization
Session is optional (for External applications - required)Required permissions
- PHOTO_CONTENT
- VALUABLE_ACCESS
Type
"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