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

Returns the session key bound to an auth_token, as returned by auth.createToken or in the callback URL.

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

Syntax

C#
public FacebookResponse<SessionInfo> GetSession(
	bool generateSessionSecret,
	string authToken
)
Visual Basic (Declaration)
Public Function GetSession ( _
	generateSessionSecret As Boolean, _
	authToken As String _
) As FacebookResponse(Of SessionInfo)
Visual C++
public:
FacebookResponse<SessionInfo^>^ GetSession(
	bool generateSessionSecret, 
	String^ authToken
)

Parameters

generateSessionSecret
Type: System..::.Boolean
Whether to generate a temporary session secret associated with this session. This is for use only with non-infinite sessions, for applications that want to use a client-side component without exposing the application secret. Note that the app secret will continue to be used for all server-side calls, for security reasons.
authToken
Type: System..::.String
The token returned by auth.createToken and passed into login.php

Return Value

[Missing <returns> documentation for "M:Facebook.Api.Controllers.AuthController.GetSession(System.Boolean,System.String)"]

See Also

AuthController Class
GetSession Overload
Facebook.Api.Controllers Namespace