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

Gets or sets the API key for the application that is supplied by Facebook.

Namespace:  Facebook.Configuration
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
[ConfigurationPropertyAttribute("apiKey", IsKey = true, IsRequired = true)]
public string ApiKey { get; set; }
Visual Basic (Declaration)
<ConfigurationPropertyAttribute("apiKey", IsKey := True, IsRequired := True)> _
Public Property ApiKey As String
Visual C++
[ConfigurationPropertyAttribute(L"apiKey", IsKey = true, IsRequired = true)]
public:
property String^ ApiKey {
	String^ get ();
	void set (String^ value);
}

See Also

FacebookApplicationElement Class
Facebook.Configuration Namespace