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

Sets a cookie for a given user and application.

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

Syntax

C#
public FacebookResponse<bool> SetCookie(
	long expires,
	long uid,
	string name,
	string value
)
Visual Basic (Declaration)
Public Function SetCookie ( _
	expires As Long, _
	uid As Long, _
	name As String, _
	value As String _
) As FacebookResponse(Of Boolean)
Visual C++
public:
FacebookResponse<bool>^ SetCookie(
	long long expires, 
	long long uid, 
	String^ name, 
	String^ value
)

Parameters

expires
Type: System..::.Int64
Time stamp when the cookie should expire. If not specified, the cookie expires after 24 hours. (The time stamp can be longer than 24 hours and currently has no limit)
uid
Type: System..::.Int64
The user for whom this cookie needs to be set.
name
Type: System..::.String
Name of the cookie.
value
Type: System..::.String
Value of the cookie.

Return Value

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

See Also

DataController Class
SetCookie Overload
Facebook.Api.Controllers Namespace