Facebook App Authorization trigger.

You must Login before you can answer or comment on any questions.

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.
 
});

— asked 2 years ago by Mel Maxwell
2 Comments
  • What info are you trying to capture?

    — commented 2 years ago by Matt Apperson

  • Anything that represents this 'login' involves authorization.

    — commented 2 years ago by Mel Maxwell

Your Answer

Think you can help? Login to answer this question!