Hi everyone. I need to fire an event after the user has authorized(first time login) my app. I tried to catch the trigger at the 'login' listener, but no useful data returned showing the authorization.
Thank you for reading.
Titanium.Facebook.appid = "203680xxxxxxx"; Titanium.Facebook.permissions = ['publish_stream', 'read_stream']; Titanium.Facebook.forceDialogAuth=false; win.add( Titanium.Facebook.createLoginButton({ style:'wide', top:50 }) ); Titanium.Facebook.addEventListener('login', function(e){ Ti.API.info(e); // it just returns normal successful login data. });
Your Answer
Think you can help? Login to answer this question!