I'm trying to do do a Titanium.Facebook.authorize(), and it works on iPhone, but I get no reaction on Android.
The login event never get fired. :-/ Nothing gets printed to the log after 'Time to log in'.
Am I missing something?
Titanium.Facebook.appid = MY_APP_ID; Titanium.Facebook.permissions = ['publish_stream']; Titanium.Facebook.forceDialogAuth = true; // <--- Tried both if (Titanium.Facebook.loggedIn === true) { Ti.API.info('Already logged in!'); } else { Titanium.Facebook.addEventListener('login',function(e){ if (e.success) { Ti.API.info('Success!'); } else if (e.error) { Ti.API.info('error: ' + e.error); } else { Ti.API.info('Unknown error'); } }); Ti.API.info('Time to log in'); Titanium.Facebook.authorize(); }