脸书FB.Event.subscribe不会在移动版本上触发


facebook FB.Event.subscribe is not firing on mobile version

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

我有这个代码:

    <script>
         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);
      }());
 </script>

fbAsyncInit和FB.init都被正确触发了!如果我输入警报("触发"),我会收到该警报,但不会在FB内部。事件订阅

通道.php包含以下内容:

<?php
$cache_expire = 60*60*24*365;
header("Pragma: public");
header("Cache-Control: max-age=".$cache_expire);
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT');
?>
<script src="//connect.facebook.net/en_US/all.js"></script>
这是

插件中的一个错误

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

该死的..FB修复缓慢!