photos.getAlbumInfo ✎ Edit on GitHub

NameRequiredTypeDescription
uid false String
aid true String
gid false String
fields false FieldSets

Authorization

Session is optional

Required permissions:

  • PHOTO_CONTENT
  • VALUABLE_ACCESS

Response

{ "album": [ { "aid": "String", "album_type": "group", "attrs": { "flags": "String" }, "author_name": "String", "author_ref": "String", "author_type": [ "APP", "GROUP", "GROUP_PHOTO", "GROUP_PHOTO_ALBUM", "HAPPENING", "HAPPENING_PHOTO", "LINK", "MEDIA_TOPIC", "MUSIC_ALBUM", "MUSIC_ARTIST", "MUSIC_TRACK", "PLACE", "POLL", "PRESENT", "PRESENT_TYPE", "SHARE", "STATUS", "THEME", "USER", "USER_PHOTO", "USER_PHOTO_ALBUM", "VIDEO", "VIDEO_CHANNEL" ], "created": "Date", "created_ms": "Long", "group_id": "String", "is_competition": "Boolean", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "main_photo": [ { "album_id": "String", "attrs": { "flags": "String" }, "author_name": "String", "author_ref": "String", "author_type": [ "APP", "GROUP", "GROUP_PHOTO", "GROUP_PHOTO_ALBUM", "HAPPENING", "HAPPENING_PHOTO", "LINK", "MEDIA_TOPIC", "MUSIC_ALBUM", "MUSIC_ARTIST", "MUSIC_TRACK", "PLACE", "POLL", "PRESENT", "PRESENT_TYPE", "SHARE", "STATUS", "THEME", "USER", "USER_PHOTO", "USER_PHOTO_ALBUM", "VIDEO", "VIDEO_CHANNEL" ], "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "group_id": "String", "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "text": "String", "topic_id": "String", "type": "group", "user_id": "String" }, { "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "text": "String", "type": "happening", "user_id": "String" }, { "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "blocked": "Boolean", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "mark_avg": "String", "mark_bonus_count": "Integer", "mark_count": "Integer", "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "tag_count": "Integer", "text": "String", "type": "user", "user_id": "String", "viewer_mark": "String" } ], "owner_ref": "String", "photos_count": "Integer", "ref": "String", "title": "String", "user_id": "String" }, { "aid": "String", "album_type": "user", "attrs": { "flags": "String" }, "author_ref": "String", "comments_count": "Integer", "created": "Date", "created_ms": "Long", "description": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "main_photo": [ { "album_id": "String", "attrs": { "flags": "String" }, "author_name": "String", "author_ref": "String", "author_type": [ "APP", "GROUP", "GROUP_PHOTO", "GROUP_PHOTO_ALBUM", "HAPPENING", "HAPPENING_PHOTO", "LINK", "MEDIA_TOPIC", "MUSIC_ALBUM", "MUSIC_ARTIST", "MUSIC_TRACK", "PLACE", "POLL", "PRESENT", "PRESENT_TYPE", "SHARE", "STATUS", "THEME", "USER", "USER_PHOTO", "USER_PHOTO_ALBUM", "VIDEO", "VIDEO_CHANNEL" ], "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "group_id": "String", "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "text": "String", "topic_id": "String", "type": "group", "user_id": "String" }, { "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "text": "String", "type": "happening", "user_id": "String" }, { "album_id": "String", "attrs": { "flags": "String" }, "author_ref": "String", "blocked": "Boolean", "context": [ "MEDIATOPIC" ], "copyable": "Boolean", "created_ms": "Long", "crop_size": "Short", "crop_x": "Short", "crop_y": "Short", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "mark_avg": "String", "mark_bonus_count": "Integer", "mark_count": "Integer", "owner_ref": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic160x120": "String", "pic176x176": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "rotations_angle": "Byte", "standard_height": "Short", "standard_width": "Short", "tag_count": "Integer", "text": "String", "type": "user", "user_id": "String", "viewer_mark": "String" } ], "owner_ref": "String", "photos_count": "Integer", "ref": "String", "title": "String", "type": [ "CLASSMATE", "CLOSE_FRIEND", "COLLEAGUE", "COMPANION_IN_ARMS", "CURSEMATE", "FRIENDS", "LOVE", "PUBLIC", "RELATIVE" ], "type_change_enabled": "Boolean", "types": [ [ "CLASSMATE", "CLOSE_FRIEND", "COLLEAGUE", "COMPANION_IN_ARMS", "CURSEMATE", "FRIENDS", "LOVE", "PUBLIC", "RELATIVE" ] ], "user_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