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

看板Programming作者 (華山派。雞大俠)時間11年前 (2013/06/01 11:00), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
前輩們,這個搞了我好久 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> 以上,謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 115.80.221.6
文章代碼(AID): #1HgMFd5j (Programming)