Ask Your Question
1

Are there known issues with Facebook login and IE

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

graeme gravatar image graeme
317 16 5 15
http://investmentqa.com/

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

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

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

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

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.

link publish delete flag offensive edit

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 ( 2010-11-19 17:13:22 -0500 )edit
I'll look into this asap. Evgeny ( 2010-11-19 17:15:42 -0500 )edit
Thanks, upgraded with no apparent issues. 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 ( 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 ( 2010-12-03 03:19:56 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 913 times

Last updated: Nov 21 '10