2012-01-05 59 views
-1

Facebook的fb.ui不工作的feed提示正常,但是在分享点击时取消按钮,在IE浏览器不会触发事件而已,正常工作在其他浏览器,如Chrome浏览器,Firefox等Facebook的流发布对话框按钮事件在IE

下面是代码:

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的错误?

+0

您测试了哪些版本的IE? – Lix 2012-01-05 08:39:59

+0

@Lix:签入IE8。 – Dev555 2012-01-05 08:50:01

+0

你为什么要在调用中添加app_id - 你已经在'FB.init'函数中指定了app_id - 这里不需要。您是否可以对FB.ui进行其他调用并接收回调? – Lix 2012-01-05 09:13:49

回答