前辈们,这个搞了我好久
Google没看到有人遇到同样问题
直接看图 :
在FB的官方设定页面正常是这样:
![]()
但是我将它移植到我的网页后
留言版都会被截断
例如这样:
![]()
把留言点开了也是一样:
![]()
原本我以为,可能是CSS 的height设定到,使得他超出范围就直接被截掉
可是我已经把所有CSS移除了,他还是一样只显示大约240px的高度...
#程式码从body开始如下:
<body>
<div id="fb-root"></div>
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '[我先移除app ID]', // App ID
      channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
      status     : true, // check login status
      cookie     : true, // enable cookies to allow the server to access the
session
      xfbml      : true  // parse XFBML
    });
    // 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/zh_TW/all.js#xfbml=1&appId=[我先移除app
ID]";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<tr>
<div>
        <fb:comments href="http://www.wowphoto.cc" num_posts="1" width="600"
height="800"></fb:comments>
</div>
</tr>
</body>
以上,谢谢。