Update 4/8/09 - I am in the new week without any success or response to the Facebook forums. Not one response there, which is quite disappointing. I also cannot understand how to put generosity on this issue, but I really really would like to solve this problem.
I looked through a lot of posts to find out if this was before, and it is not. Here's the short version:
I am looking at a sample FB Connect tutorial (v1) and cannot make it work in IE8 on Win7. It works as expected on FF3 on Win7.
Long version:
I was surprised that everything did not work, since I had quite a few copies and stickers on the content. I missed a bit with a javascript alert () call, so I set it to see, even if the parser even reached it. I entered the following code:
[my raw html] Or use, <fb:login-button length="long" onlogin="alert('yo!!!');"></fb:login-button> [/my raw html]
Warning does not appear in IE8. He works for FF.
When I return to the update_user_box () call, my HTML looks like this:
Or use, <fb:login-button length="long" onlogin="update_user_box();"></fb:login-button> <script type="text/javascript"> function update_user_box() { var user_box = document.getElementById("user"); user_box.innerHTML = "<span>" + "<fb:profile-pic uid='loggedinuser' facebook-logo='true'></fb:profile_pic>" + "Welcome, <fb:name uid='loggedinuser' useyou='false'></fb:name>." + "You are signed in." + "</span>" FB.XFBML.Host.parseDomTree(); } FB.init("23e24c73feed7ca0f6afd876575842de", "../../Connect/xd_receiver.htm", { "ifUserConnected": update_user_box }); </script>
Again, this works great in FF3. My photo appears and all that. It actually upsets me more that he worked in FF3, and not in a full working situation.
The following is an example of IE8 behavior:
View the source of this page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <body> <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript"></script> </body> </html>
5. If I close this window and enter my credentials in the application window, the page will reload using the FBConnect button.
As I said, I get the expected behavior in FF3, but not IE8. I even tried IE8 compatibility mode, but that didn't work either. Does anyone have any clues as to what is happening?
My HTML tag looks like this:
Therefore, I know that this is not a problem.