I am currently developing an app using Appcelerator Studio and want to track installs with the Facebook Module: http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook
The app does not require Facebook login so I need to track installs without the login function (If i call the .authorize function the install is tracked, but this isn't what I want)
I have tried a couple of ways:
1. var fb = require('facebook');
fb.initialize();
fb.activateApp();
Nothing appears in the Facebook analytics section but no errors are thrown.
2. var fb = require('facebook');
fb.initialize();
fb.logCustomEvent('test');
with iOS I get the error:
[ERROR] : message = "-[__NSCFString objectAtIndex:]: unrecognized selector sent to instance 0x799633e0";
Even though the documentation requires passing the event as a string as I am doing.
Any help would be much appreciated.
Many Thanks, Simon.