const facebookObjectClass = this._runtime.GetSingleGlobalObjectClassByCtor(C3.Plugins.Facebook);
if (facebookObjectClass)
{
const facebookSdkInst = facebookObjectClass.GetSingleGlobalInstance().GetSdkInstance();
// can now make calls, e.g.: facebookSdkInst.GetAccessToken()
}
Available APIs
- GetAccessToken()
- Return a string of the Facebook login access token. This is available once the On user logged in trigger fires. The access token can be used to make additional Facebook API calls on behalf of the user.