I'm failing to implement a Facebook app install campaign. My ionic app initiated the FB JS SDK as described here. In my app init code I include the following:
FB.AppEvents.activateApp();
When I do, I get the following error:
You can only use this function in Facebook Canvas environment
What am I doing wrong?
In the official facebook for developers link, its mentioned as
"Note: App Launches and App Installs are now logged automatically. It's no longer necessary to call activateApp to log those events."
So looks like this call may not be necessary at all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With