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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago
graeme's avatar
319
graeme
asked 14 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
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 (14 years ago)
I'll look into this asap.
Evgeny's avatar Evgeny (14 years ago)
Thanks, upgraded with no apparent issues.
graeme's avatar graeme (14 years ago)
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 (14 years ago)
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 (14 years ago)
see more comments