2012-01-13 83 views
0

我的Facebook分享按鈕被禁用的Facebook爲什麼我的Facebook分享按鈕被禁用Facebook的喜歡按鈕

像按鈕,我寫的代碼是共享按鈕

<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=308804365831102"; 
    fjs.parentNode.insertBefore(js, fjs); 
    }(document, 'script', 'facebook-jssdk'));</script> 
    <div class="fb-like" 
    data-href="http://www.interactivebees.com/"  data-send="false" 
    data-layout="button_count" data-show-faces="false"></div> 

代碼爲

<a href="https://twitter.com/share" class="twitter-share-button"   
    data-url="http://www.interactivebees.com/" 
    data-via="http://www.interactivebees.com/" data-lang="en">Tweet</a> 

    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s) [0]; 
    if(!d.getElementById(id)){js=d.createElement(s);js.id=id; 
    js.src="//platform.twitter.com/widgets.js"; 
    fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> 

回答

0

你是說,Facebook的分享按鈕是禁用Facebook的喜歡按鈕,但你已經給了tweet分享和facebook的代碼,就像...而且這兩件事對我來說都很好......