2011-12-20 3 views
1

다음과 같은 (부적절한) 코드가있는 facebook iframe 페이지가 있습니다. 나는 의견의 사회자가 될 수없는 것 같습니다. 내가 엉망이 된 어떤 생각? (디버깅 링크 : https://developers.facebook.com/tools/debug/og/object?q=brandpreview.nl%2Ffbkerst%2Fwhitewishingboard.php는)Facebook 댓글, 운영자 상태를 얻을 수 없습니다.

<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의 요구 사항을 충족해야합니다. 중재자 권한을 가져야하는 페이스 북 사용자는 귀하의 신청서를 '좋아'해야합니다.

덧붙여 말 할 수 있겠지만, 귀하의 코멘트 플러그인을 볼 때 페이스 북에 로그인되어 있는지 확인하십시오.

+0

감사합니다. 대괄호를 수정했는데 다른 요구 사항을 충족합니다. 아직도 운이 없다. – dubbelj

관련 문제