photos.getPhotos

Getting information about user, group or specific album’s photos.

NameRequiredTypeDescription
uid false String

User id for no session method calls. If specified, method will be called as from this user’s session

fid false String

Id of a user photos of whom must be returned. If not specified than current user’s photos will be returned instead.

Parameter is ignored if gid was specified

aid false String

Album id. If not specified photos from personal album will be returned. A list of specific album ids can be used:

  • tags: photos on which “fid” user was tagged
  • application: current application’s album photos
  • group_main: main group album photos
album_name false String
gid false String

Group id where album is placed

anchor false String

Anchor used for paging results

direction false PagingDirection

Paging direction

count false Integer

Number of photos to be returned in response

detectTotalCount false Boolean

Try to detect total amount of available photos. Default value: false

fields false FieldSets

List of required object fields

album_type false PhotoAlbumType

Album type

mark_as_read false boolean

Mark album as viewed. Default value: true

Authorization

Session is optional (for External applications - required)

Required permissions

  • VALUABLE_ACCESS

Method does not return total photos count for group albums (“total_count” response field)

Type

{
  • anchor: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