JFacebookUser::createAlbum
Method to create an album for a user. Requires authentication and publish_stream permission.
Signature
public function createAlbum(mixed
$user,
[string
$name = null,
[string
$description = null,
[json
$privacy = null]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$name
- Album name.
-
$description
- Album description.
-
$privacy
- A JSON-encoded object that defines the privacy setting for the album.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.