Ask Your Question
1

Are there known issues with Facebook login and IE

asked 2010-11-19 04:55:42 -0500

graeme's avatar

updated 2010-11-21 14:01:37 -0500

Evgeny's avatar

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-11-19 16:53:32 -0500

Evgeny's avatar

updated 2010-11-19 21:12:37 -0500

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.

edit flag offensive delete link more

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 -0500 )edit
I'll look into this asap.
Evgeny's avatar Evgeny  ( 2010-11-19 17:15:42 -0500 )edit
Thanks, upgraded with no apparent issues.
graeme's avatar graeme  ( 2010-11-20 23:31:23 -0500 )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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-11-19 04:55:42 -0500

Seen: 4,530 times

Last updated: Nov 21 '10