Facebook 流发布对话框按钮事件在 IE 中不起作用
Facebook fb.ui
for feed
提示正常,但是当单击分享或取消按钮时,该事件不发生仅在 IE 中触发,在其他浏览器(如 Chrome、Firefox 等)中工作正常。
代码如下:
function showStreamPublish()
{
FB.ui(
{
'method': 'feed',
'name': 'xxxxxx',
'link': 'xxxxxxxxxxxxxxx',
'picture': 'xxxxxxxxxxxx',
'description': 'xxxxxxxxxxxx',
'app_id': 'xxxxxxxxxxxxxx'
},
function(response)
{
alert(response); //**** this does not work in IE
});
}
有任何解决方法吗?或者这是否是 facebook 错误?
Facebook fb.ui
for feed
prompts fine, however when clicked on Share or Cancel button, the event is not triggered in IE only, works fine in other browsers such as Chrome, Firefox, etc.
Here is the code:
function showStreamPublish()
{
FB.ui(
{
'method': 'feed',
'name': 'xxxxxx',
'link': 'xxxxxxxxxxxxxxx',
'picture': 'xxxxxxxxxxxx',
'description': 'xxxxxxxxxxxx',
'app_id': 'xxxxxxxxxxxxxx'
},
function(response)
{
alert(response); //**** this does not work in IE
});
}
Any workaround this or whether this is facebook bug ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据上面的评论,您应该有一个频道文件。此外,为了兼容 IE,您可能需要设置隐私标头(又名 p3p)。请参阅 http://www.admon .org/how-to-implement-p3p-http-headers-for-cross-site-cookies/
From the comments above you should have a channel file. Also, for IE compatibility, you may need to set a privacy header (aka p3p). See http://www.admon.org/how-to-implement-p3p-http-headers-for-cross-site-cookies/