Returns a URL for uploading a new photo to a photo album.

Photos can’t be uploaded to system albums using this method. System albums are special and each has its own way of adding new photos.

This method requires the following permissions: photos.

Parameters

album_id
string

Identifier of the photo album to which to upload the photo.

Result

An object:

upload_url
string

A URL for uploading your photo. This URL can only be used to upload a single photo. If you’re uploading multiple photos, you need to call this method for each one.

Errors

Global errors may occur when calling this method.