First time here? Check out the FAQ!
1

Are there known issues with Facebook login and IE

A user of my site reported that they could not login with Facebook using IE8.

I do not have IE 8 (only 6 in a VM for testing) so I cannot really verify.

A bit of Googling revealed that problems with FB connect and IE are not uncommon. Is there an issue with ASkbot

Evgeny's avatar
13.2k
Evgeny
updated 2010-11-21 14:01:37 -0600
graeme's avatar
319
graeme
asked 2010-11-19 04:55:42 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I've just tried on IE8 and it worked for me if I'm logged out of FB in the first place, but there seems to be a glitch when I'm already signed on to facebook, but not yet in askbot. I'll investigate this one. Thanks.

Actually, maybe it's not just an IE issue, I see this in chrome js console: "FB.login() called when user is already connected."

edit I think I've fixed the issue - try the new update, there was just a bug of course. After applying the update increment the number in the skin settings - it's not automated yet - to push the updated script onto the users when they try to log in next time.

For anyone who is interested, the working button handler looks like this:

var start_facebook_login = function(){
    if (typeof FB != 'undefined'){
        //used to have just FB.login() here
        FB.getLoginStatus(function(response){
            if (response.session){
                signin_form.submit();
            }
            else {
                FB.login();
            }
        });
    }
    return false;
};

The key is to call FB.getLoginStatus() with the actual login callback.

Evgeny's avatar
13.2k
Evgeny
updated 2010-11-19 21:12:37 -0600, answered 2010-11-19 16:53:32 -0600
edit flag offensive 0 remove flag delete link

Comments

Thanks. I have added a note on my login page to warn people that FB might not work for IE users, other people might consider doing the same.
graeme's avatar graeme (2010-11-19 17:13:22 -0600) edit
I'll look into this asap.
Evgeny's avatar Evgeny (2010-11-19 17:15:42 -0600) edit
Thanks, upgraded with no apparent issues.
graeme's avatar graeme (2010-11-20 23:31:23 -0600) edit
Just fixed another issue that affected users of Safari browser. When facebook javascript SDK has bugs - in safari users could not log in at all. Found this after buying a Mac for myself :).
Evgeny's avatar Evgeny (2010-11-29 17:18:36 -0600) edit
Does that mean that in general people can login in even if there is a bug in the Faceboook JS or it fails to load?
graeme's avatar graeme (2010-12-03 03:19:56 -0600) edit
add a comment see more comments