2011-11-06 29 views

回答

1

看這個網站:multipla.tv 這也是在這裏完成。 您應該在框中添加舊版本的風扇:

<fb:fan profile_id="106908749418612" stream="" connections="14" width="696" height="113" css="http://multipla.tv/css/facebook.css?3159"></fb:fan> 

到你的網站,包括js文件:

http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/pl_PL 

就產生FB likebox後結束Facebook給出的HTML代碼中插入代碼之前:

<script type="text/javascript"> 
    var _gaq = _gaq || []; 
    _gaq.push(['_setAccount', 'UA-27010550-1']); 
    _gaq.push(['_trackPageview']); 
    (function() { 
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 
    })(); 
</script> 

請記得更改您的setAccount。 還有一個想法。 在頭上,你應該插入:

<script type="text/javascript">FB.init("j4eb6a5dd7554377955544101");</script> 

初始化的參數是你的身份證。當您搜索包含在正常fb likebox的iframe中的javascript時,您可以找到它。

0

Facebook故意使這個困難。您可以通過點擊頂起來進行排序,但如果您被抓到,Facebook將會禁用您的喜歡,因爲它與他們的TOS非常相似。

相關問題