Facebook extension - no events received

(I posted this on Discord initially but it’s quite a specialist question so I’m asking here now)

I’m trying to set up the Facebook extension so that we can get advertise on Facebook and optimise for installs. However, I’m not seeing any events in the Events Manager.
It might be an iOS 14 problem - my phone is on iOS 14.5, and I’m not an expert on iOS 14.

So far I have:

  1. Created the app in Facebook, added the iOS platform and set the bundle ID.
  2. Installed the Facebook extension in Defold and set the app ID from Facebook.
  3. Built and installed the game on my phone - saw that no install event was visible in the Facebook events manager.
  4. Noticed from console output that FacebookAutoLogAppEventsEnabled wasn’t set, so I created a minimal Defold extension to add this to info.plist
  5. Sent a facebook.EVENT_COMPLETED_TUTORIAL message manually
  6. Added and initialised the adinfo extension (but I’m not sure if it’s relevant)

I’ve also noticed in the Events Manager that it says “Your app is out of date. To run your app on iOS 14, update to the latest Facebook SDK for IOS.” but I’m using the latest (6.2.0) that uses Facebook SDK 9.0.1

Is it expected that this (Facebook install tracking) is currently working? Have I missed any steps?
thanks

We’re using a a minimal installation of the extension of the Facebook SDK on our games and it works for us for install tracking. By minimal I mean there are no calls to the SDK from the Lua side, just the extension and the app id.

I seem to remember it takes a day or so for the stats to start trickle in, could it be that?

We are not aware of any problems with the Facebook extension and we specifically upgraded it to be compliant with iOS 14. Users have confirmed that the install attribution is working.

The Events Manager has a ‘test events’ tool that should show events instantly when using the game signed in to the same FB account - I’ve used it with Unity integrations before.

What if you try with an iOS device with iOS version lower than 14? Or an Android device?

Resurrecting an old thread. I thought we had iOS 14 support working but I noticed in our Facebook dashboard a message that we weren’t ever setting a particular flag. Added an issue at https://github.com/defold/extension-facebook/issues/46

1 Like

One thing that finally helped get events showing was this issue in the Facebook iOS SDK - it’s important to allow tracking on your own app and the Facebook app too.

I now have events showing in the test view

3 Likes