Android Question Tracking App Installs from Facebook Ads

cbanks

Active Member
Licensed User
Longtime User
I want to track app installs that came from Facebook ads.

Facebook says to add the following to the Resume section of my app:

B4X:
com.facebook.AppEventsLogger.activateApp(context, YOUR_APP_ID);

When I compile my app it doesn't work because it doesn't understand what that line means. Is there a library that needs to be added or something? Does someone know what else I need to do?

Facebook instructions are here: https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads/

More info here: https://developers.facebook.com/docs/android/getting-started/
 
Last edited:

cbanks

Active Member
Licensed User
Longtime User
You need to create a library, see THIS TUTORIAL (you need to know Java), or, hire someone to write it for you.

Is anyone willing to write a library for the Facebook SDK? I'm only interested at this time running this command:
com.facebook.AppEventsLogger.activateApp(context, YOUR_APP_ID);
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…