FB.UI display dialog is blocked in IE9 in a iframe app, 'only secure content is displayed'
Here is my code, it works fine in IE 7, 8, but blocked in IE 9
FB.ui(
{
display: 'dialog',
method: 'feed',
name: Resource.WallPost.Title,
link: Resource.WallPost.Url,
picture: Resource.WallPost.PictureUrl,
caption: '',
description: Resource.WallPost.Description,
message: ''
},
function (respons开发者_JAVA技巧e) {
if (response && response.post_id) {
} else {
}
}
);
For security reasons, IE9 blocks insecure content in secure subframes. The Facebook team is currently working on addressing this in their API.
You can disable this annoying prompt in IE9. This article shows how to do that.
When I set FB._https = true, then I get the mixed content warning.
When I set FB._https = false, I get the mixed content warning there, too.
At this point in IE9, I'm always getting the warning.
精彩评论