Skip to main content

Initialise Facebook App

caution

This is the legacy extension documentation. Find the new documentation here

Initialise the Facebook Application

The first step to use the Facebook API ANE is to inform the ANE of your Facebook Application ID.

This is a simple matter of calling initialiseApp and must be done after init is called but before any other functionality is used.

// Initialise the ANE with your Facebook App ID
FacebookAPI.service.initialiseApp( "YOUR_FACEBOOK_APP_ID" );

This will initialise the Facebook SDK internally and inform the SDK of your applicaiton id.