facebook FB.Event.subscribe未在移动版本上触发

我正在尝试在为广告创建评论时创建一个小通知器。 它在桌面版本上运行完美,但在移动版本上, FB.Event.subscribe不会被触发。

我有这个代码:

   window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : 'XXXX' channelUrl : 'http://www.xxx.dk/channel.php', status : true, xfbml : true }); FB.Event.subscribe('comment.create', function (response) { $.ajax({ url: 'http://www.xxx.dk/notify.php', type: 'POST', data: { aid: {$viewad.aid} }, success: function(data) { }, error: function(data) { } }); }); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }());  

fbAsyncInit和FB.init正在被正确触发! 如果我处于警报状态(“已解雇”),我将收到警报,但不会在FB.Event.subscribe内部

channel.php包含这个:

   

这是插件中的一个错误

https://developers.facebook.com/bugs/604681079553717

该死的.. FB修复很慢!