2011-12-12 76 views
0

適度我無法緩和在評論欄中的評論中http://developers.facebook.com/tools/comments失敗在評論框

我錯過在我的代碼的東西嗎?

<body> 
<div id="fb-root"></div> 
<script> 
    window.fbAsyncInit = function() { 
    FB.init({ 
     appId : '168365613230111', 
     status : true, // check login status 
     cookie : true, // enable cookies to allow the server to access the session 
     xfbml : true // parse XFBML 
    }); 
    }; 

    (function() { 
    var e = document.createElement('script'); 
    e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; 
    e.async = true; 
    document.getElementById('fb-root').appendChild(e); 
    }()); 
</script> 

<div class="fb-comments" data-href="http://www.facebook.com/" data-num-posts="5" data-width="500"></div> 

回答

0

我這個掙扎了好半天,可以嘗試在此標籤中......

<html xmlns:fb="http://yourwebsite.com"> 
+0

對不起第二次嘗試......

+0

嘗試第三次;) –