@eduardvanshufel wrote:
Still could not implement a Facebook app install campaign.
My ionic app initiated the FB JS sdk as describe here:
https://developers.facebook.com/docs/javascript/howto/angularjsAnd my launch app code includes the following:
$window.fbAsyncInit = function() { FB.init({ appId: 'MY-APP-CODE', status: true, cookie: true, xfbml: true, version: 'v2.6' }); $log.debug("done loading FB SDK"); FB.AppEvents.activateApp(); $log.debug("Call FB activate app"); };
I do get the following error:
You can only use this function in Facebook Canvas environmentAny ideas what I'm doing wrong ?
Thank you in advance
Edward
Posts: 1
Participants: 1