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

Uploads a photo owned by the current session user and returns the new photo.

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

Syntax

C#
public FacebookResponse<Photo> Upload(
	string aid,
	string caption,
	long uid
)
Visual Basic (Declaration)
Public Function Upload ( _
	aid As String, _
	caption As String, _
	uid As Long _
) As FacebookResponse(Of Photo)
Visual C++
public:
FacebookResponse<Photo^>^ Upload(
	String^ aid, 
	String^ caption, 
	long long uid
)

Parameters

aid
Type: System..::.String
The album ID of the destination album. The
CopyC#
aid
cannot be longer than 50 characters.
caption
Type: System..::.String
The caption of the photo.
uid
Type: System..::.Int64
The user ID of the user whose photo you are uploading. 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.

Return Value

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

See Also

PhotosController Class
Facebook.Api.Controllers Namespace