JFacebookUser::createPhoto
Method to post a photo on user's wall. Requires authentication and publish_stream permission, user_groups or friends_groups permission.
Signature
public function createPhoto(mixed
$user,
[string
$source = null,
[string
$message = null,
[string
$place = null,
[boolean
$no_story = null]]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$source
- Path to photo.
-
$message
- Photo description.
-
$place
- Facebook ID of the place associated with the photo.
-
$no_story
- If set to 1, optionally suppresses the feed story that is automatically
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.