Reputation: 2229
I'm working on a site that uses Facebook connect for single signon. It seems to work OK in all browsers except IE. When clicking the "connect" button in IE I get the login popup appear but instead of showing the login dialog it tries to display
Which can't load and is just white. IE also displays an errormessage about all.js (included by FB connect):
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Wed, 15 Dec 2010 16:11:50 UTC
Message: Permission denied Line: 16 Char: 2188 Code: 0 URI: http://connect.facebook.net/en_US/all.js
Obviously hard to debug since it's minified JS.
Upvotes: 0
Views: 1015
Reputation: 43245
Try putting the channelURl, that should solve your problem.
http://developers.facebook.com/docs/reference/javascript/fb.init/
<script>
FB.init({
appId : 'YOUR APP ID',
channelUrl : 'http://example.com/channel.html' // custom channel
});
</script>
Content of channel.html :
<script>
document.domain = "example.com";
</script>
<script src="http://connect.facebook.net/en_US/all.js"></script>
Upvotes: 1