[問題] FB Social Comments無法完全顯示!?

作者: hwasan86 (華山派。雞大俠)   2013-06-01 11:00:53
前輩們,這個搞了我好久
Google沒看到有人遇到同樣問題
直接看圖 :
在FB的官方設定頁面正常是這樣:
http://ppt.cc/5MJX
但是我將它移植到我的網頁後
留言版都會被截斷
例如這樣:
http://ppt.cc/UdD1
把留言點開了也是一樣:
http://ppt.cc/39R2
原本我以為,可能是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>
以上,謝謝。

Links booklink

Contact Us: admin [ a t ] ucptt.com