2013-06-12 25 views
0

我已嘗試在http://www.shopsonstar.com/index.html上實施Like Box的每種方法。無論我如何執行,Like Box都不起作用,爲什麼?

HTML5,XFBML,iframe中,沒有工作,網址是不適合

無顯示,爲什麼? 我甚至調用過jQuery。

<script src="js/libs/modernizr-1.7.min.js"></script> 
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> 
</head> 
<body> 
<div id="fb-root"></div> 
<script>(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_US/all.js#xfbml=1&appId=440871936008924"; 
    fjs.parentNode.insertBefore(js, fjs); 
}(document, 'script', 'facebook-jssdk'));</script> 

    <div class="fivecol last centered"> 
<div class="fb-like-box" data-href="https://www.facebook.com/ShopsOnStar" data-width="292" data-height="400" data-show-faces="false" data-stream="true" data-show-border="true" data-header="true"></div> 
<fb:like-box href="https://www.facebook.com/ShopsOnStar" width="292" height="400" show_faces="false" stream="true" show_border="true" header="true"></fb:like-box> 
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FShopsOnStar&amp;width=292&amp;height=427&amp;show_faces=false&amp;colorscheme=light&amp;stream=true&amp;show_border=true&amp;header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:427px;" allowTransparency="true"></iframe> 
</div> 
</div> 

謝謝你,湯姆

+0

你什麼意思是'沒有顯示'?我在頁面上看到三個類似的框 – Igy

+0

@Igy我什麼都看不到 - 我也在登錄FB時打開了該網站。請告訴我他們是怎麼看的 - 我應該刪除一些代碼,所以只有一個出現,我想只留下HTML5的代碼...我已經嘗試清除瀏覽器緩存......並且已經查看/測試過來自兩臺不同的計算機... – Tom

+0

現在我看到了這個:http://i.imgur.com/IX3ONoc.png – Igy

回答

0

刪除data-show-faces="false"

+0

這是什麼意思?請澄清......它與FB開發者站點上的不同。謝謝.. – Tom

+0

我們不想展示面孔,謝謝... – Tom

+0

試過了上面的建議,還是沒有看到我們喜歡的盒子,雖然顯然別人能看到它,而我們也不想露面。謝謝,湯姆 – Tom

相關問題