1 Reply Latest reply on Mar 1, 2016 9:46 AM by ryanskihead

    Phonegap Build using Phonegap Facebook Plugin

    briggsman

      I'm using PhoneGap Build. I'm using this plugin here: https://github.com/Wizcorp/phonegap-facebook-plugin only to add install tracking for a Facebook ad I have setup for mobile ads when people install the app after clicking the mobile Facebook ad.

      In the Facebook SDK here under "4. Enable Install Tracking":https://developers.facebook.com/docs/app-ads/sdk

      it says: "To enable install tracking call the App Events logger once your application becomes active."

      In this plugin's README under Events, it says:

      "Activation events are automatically tracked for you in the plugin."

      Does this mean that there is no code to write, that once I only have to add the plugin to the config xml and it will automatically call FB.AppEvents.activateApp() ?

      I have attempted to call FB.AppEvents.activateApp() manually using the Facebook SDK for Javascript but get an error AppEvents undefined.