1

次の(無関係な部分を切り取った)コードを含むFacebookのiframeページがあります。コメントのモデレーターになれないようです。私が台無しにした場所はありますか?(デバッグリンク: https://developers.facebook.com/tools/debug/og/object?q=brandpreview.nl%2Ffbkerst%2Fwhitewishingboard.php )

<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
    <meta property="fb:admins" content="737418775" />
    <meta property="fb:app_id" content="240672092656980"/>
</head>
<body>
    <script>
        window.fbAsyncInit = function() {

            FB.init({
              appId      : '240672092656980', // App ID
              status     : true, // check login status
              cookie     : true, // enable cookies to allow the server to access the session
              oauth      : true, // enable OAuth 2.0
              xfbml      : true  // parse XFBML
            });

            FB.Canvas.setSize({ width: 520, height: 2000 });

            // Additional initialization code here
        };

        // Load the SDK Asynchronously
        (function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=240672092656980";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));       
    </script>       
    <div id="fb-root"></div>
    <div class="fb-comments" data-href="http://www.facebook.com/brandrepublic.nl" data-num-posts="5" data-width="520"></div>
</body>

4

1 に答える 1

0

まず、プロファイル ID をこれらの括弧内に配置しないでください。次のものなしで提供する必要があります。

<meta property="fb:admins" content="737418775" />

次に、Facebook の要件を満たす必要があります。モデレーター特権を取得する必要がある facebook ユーザーは、アプリケーションに「いいね」する必要があります。

言うまでもありませんが、コメント プラグインを見るときは、Facebook にログインしていることを確認してください。

于 2011-12-20T10:00:41.883 に答える