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

Initializes a new instance of the FacebookContextBase<(Of <(TCache, TSession>)>) class.

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

Syntax

C#
public FacebookContextBase(
	string apiKey,
	string secret
)
Visual Basic (Declaration)
Public Sub New ( _
	apiKey As String, _
	secret As String _
)
Visual C++
public:
FacebookContextBase(
	String^ apiKey, 
	String^ secret
)

Parameters

apiKey
Type: System..::.String
The apiKey of the application initializing the context.
secret
Type: System..::.String
The secret corresponding to apiKey.

Remarks

Information about API Keys and secrets is available in Facebook's Getting Started Tutorial.

See Also

FacebookContextBase<(Of <(TCache, TSession>)>) Class
FacebookContextBase<(Of <(TCache, TSession>)>) Overload
Facebook Namespace