2011-12-20 61 views
1

我有一个facebook iframe页面以下(删除不相关的)代码。我似乎无法成为评论的主持人。任何想法,我搞砸了? (调试链接:https://developers.facebook.com/tools/debug/og/object?q=brandpreview.nl%2Ffbkerst%2Fwhitewishingboard.phpFacebook的评论,无法获得主持人状态

<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> 

回答

0

首先,你不应该把你的个人资料的ID的括号内。您应该不提供:

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

其次,必须符合Facebook的要求;应该获得版主权限的Facebook用户需要“喜欢”您的应用程序。

毫无疑问,当您查看您的评论插件时,请确保您已登录Facebook。

+0

谢谢,确实修复了括号,我确实满足了其他要求。仍然没有运气。 – dubbelj 2011-12-20 16:12:57