...
userId
: The profile for which you are creating want to create the album.name
: Required - The title of the album.message
: The description of the album. This is what appears in news feed stories below the title of the album.privacy
: The privacy setting for the album. Possible values are EVERYONE, ALL_FRIENDS, FRIENDS_OF_FRIENDS, CUSTOM and SELF. For more information on the privacy parameter, see https://developers.facebook.com/docs/reference/api/privacy-parameter.location
: The textual location of the album for non-page locations.isDefault
: Set totrue
if you want to create an application specific album.place
: The ID of a location page to tag the album with.
...
albumId
: The ID of the album that you want to retrieve.fields
: The fields of the album that you need want to retrieve.
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
The postPhotoToAlbum
operation adds photos to a specified album. This does not require <facebook.init>
to be called before the operation. For information on why you do not need to call <facebook.init>
before this operation, see multipart processing.
...
accessToken
: The access token that allows making requests to the API.apiUrl
: The URL of the Facebook API.apiVersion
: The version of the Facebook API.albumId
: The unique identifier of the album.location
: A text location of the album for non-page locations.message
: The description of the photo.noStory
: If set to true, this will suppress suppresses the feed story that is automatically generated on a person's profile, when they upload a photo using your app.photoUrl
: The URL of a photo that is already uploaded to the internet.place
: Page The page ID of a place associated with the Photophoto.
Sample request (Curl)
Following is a sample REST request that can be handled by the postPhotoToAlbum
operation.
...