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.