JFacebookAlbum::createPhoto
Method to add photos to an album. Note: check can_upload flag first. Requires authentication and publish_stream permission.
Signature
public function createPhoto(string
$album,
[string
$source = null,
[string
$message = null]] )
Parameters
-
$album
- The album id.
-
$source
- Path to photo.
-
$message
- Photo description.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.