Facebook login button does not 'just work'

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

I'm building a iOS mobile app, using 2.1.1 and have added Facebook functionality. At fun, it was all fun and happiness, but I noticed that when I logged out using the Facebook button, I can't log in with another user as the button does not let me enter any other information, the loginbox is just white and logs in the same user as previously used.

I have seen this posted as a bug as far back as april (!), has this not been handled yet? Seriously?

Regards,

Bob

— asked 10 months ago by Robert Benedetto
2 Comments
  • I too having same issue, Is there any solution?

    — commented 10 months ago by Karthi Ponnusamy

  • +1 was about to post same issue 2 3 days back !!

    — commented 10 months ago by Sahil Grover

1 Answer

Accepted Answer

This post may help you. And this is my solution(at least it worked for me after a lot of research):

Titanium.Facebook.addEventListener('logout', function(e) {
var url = 'https://login.facebook.com';
var client = Titanium.Network.createHTTPClient();
client.clearCookies(url);
});

Your Answer

Think you can help? Login to answer this question!