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 ?

有帮助吗?

解决方案

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/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top