JFacebookPhoto::createTag
Method to tag one or more Users in a photo. $to or $tag_text required.
Requires authentication and publish_stream permission, user_photos permission for private photos.
Signature
public function createTag(string
$photo,
[mixed
$to = null,
[string
$tag_text = null,
[integer
$x = null,
[integer
$y = null]]]] )
Parameters
-
$photo
- The photo id.
-
$to
- ID of the User or an array of Users to tag in the photo: [{"id":"1234"}, {"id":"12345"}].
-
$tag_text
- A text string to tag.
-
$x
- x coordinate of tag, as a percentage offset from the left edge of the picture.
-
$y
- y coordinate of tag, as a percentage offset from the top edge of the picture.
Returns
- boolean
- Returns true if successful, and false otherwise.