[This is preliminary documentation and is subject to change.]

Adds a tag with the given information to a photo.

Namespace:  Facebook.Api.Controllers
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
public FacebookResponse<bool> AddTag(
	long ownerUid,
	string pid,
	long tagUid,
	string tagText,
	float x,
	float y
)
Visual Basic (Declaration)
Public Function AddTag ( _
	ownerUid As Long, _
	pid As String, _
	tagUid As Long, _
	tagText As String, _
	x As Single, _
	y As Single _
) As FacebookResponse(Of Boolean)
Visual C++
public:
FacebookResponse<bool>^ AddTag(
	long long ownerUid, 
	String^ pid, 
	long long tagUid, 
	String^ tagText, 
	float x, 
	float y
)

Parameters

ownerUid
Type: System..::.Int64
The user ID of the user whose photo you are tagging. If this parameter is not specified, then it defaults to the session user.
Note: This parameter applies only to Web applications and is required by them only if the
CopyC#
session_key
is not specified. Facebook ignores this parameter if it is passed by a desktop application.
pid
Type: System..::.String
The ID of the photo to be tagged. The
CopyC#
pid
cannot be longer than 50 characters.
tagUid
Type: System..::.Int64
The ID of the user being tagged. You must specify either the
CopyC#
tag_uid
or the
CopyC#
tag_text
parameter, but not both. They have no defaults and this parameter is ignored if
CopyC#
tag_text
is specified.
tagText
Type: System..::.String
Some text identifying the person being tagged. You must specify either the
CopyC#
tag_uid
or the
CopyC#
tag_text
parameter, but not both. They have no defaults and this parameter is ignored if
CopyC#
tag_uid
is specified.
x
Type: System..::.Single
The horizontal position of the tag, as a percentage from 0 to 100, from the left of the photo.
y
Type: System..::.Single
The vertical position of the tag, as a percentage from 0 to 100, from the top of the photo.

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.PhotosController.AddTag(System.Int64,System.String,System.Int64,System.String,System.Single,System.Single)"]

See Also

PhotosController Class
AddTag Overload
Facebook.Api.Controllers Namespace