I'm using ionic with plugin cordova-plugin-facebook4.
When I try to use logEvent() I didn't receive any error and also didn't get the information to my Facebook analytics.
I used logEvent() in the following way:
facebookConnectPlugin.logEvent('my event name', {}, 1);
According to their documentation, you can't log arbitrary strings as event names. You have to use their supported event constants, e.g.
FBSDKAppEventNameActivatedApp,FBSDKAppEventNameAddedPaymentInfo,FBSDKAppEventNameCompletedRegistration, etc.I assume you tried to log a random string that wasn't in their table of constants, which is why it didn't show up on your analytics dashboard.
https://developers.facebook.com/docs/app-events/ios