2012-11-13 79 views
5

我有Facebook Like按鈕,但它沒有顯示在我的時間軸上。當我點擊我網站上的按鈕時。它會改變爲確認,一旦我點擊了這個,小窗口將彈出喜歡該產品。在小窗口中的鏈接它說,這樣的事情喜歡按鈕(確認)

http://www.facebook.com/plugins/error/confirm/like?iframe_referer=http%3A%2F%2F3beacheschemist.doublet.com.au%2Fproductdetail.aspx%3Fname%3DSWISSE-HAND-CREAM-WITH-VIT-F---POMEGRANATE-100ML&secure=false&plugin=like&return_params=%7B%22api_key%22%3A%22171681722971300%22%2C%22locale%22%3A%22en_US%22%2C%22sdk%22%3A%22joey%22%2C%22channel_url%22%3A%22http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D17%23cb%3Dffcb50044%26origin%3Dhttp%253A%252F%252F3beacheschemist.doublet.com.au%252Ff39b47030%26domain%3D3beacheschemist.doublet.com.au%26relation%3Dparent.parent%22%2C%22href%22%3A%22http%3A%2F%2F3beacheschemist.doublet.com.au%2Fproductdetail.aspx%3Fname%3DSWISSE-HAND-CREAM-WITH-VIT-F---POMEGRANATE-100ML%22%2C%22node_type%22%3A%22link%22%2C%22width%22%3A%22450%22%2C%22layout%22%3A%22standard%22%2C%22colorscheme%22%3A%22light%22%2C%22action%22%3A%22recommend%22%2C%22show_faces%22%3A%22false%22%2C%22send%22%3A%22true%22%2C%22extended_social_context%22%3A%22false%22%2C%22ret%22%3A%22sentry%22%2C%22act%22%3A%22connect%22%7D

之前,我突然需要改變任何事情是我不知道的working.All。

+0

另請參閱http://stackoverflow.com/questions/9083996/facebook-like-button-is-asking-to-confirm-the-action – rogerdpack

回答

0

首先,一定要使用類似按鈕生成:

https://developers.facebook.com/docs/reference/plugins/like/

其次,它有助於在許多情況下,與一個應用程序ID使用like按鈕。通常情況下,如果您在facebook集成中使用應用ID,則通常不會顯示垃圾郵件確認。

例(在APPID填寫):

<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/de_DE/all.js#xfbml=1&appId=xxxxxxx"; 
    fjs.parentNode.insertBefore(js, fjs); 
}(document, 'script', 'facebook-jssdk'));</script> 

如果還是不行,你只能等,也許它有助於刷新Facebook的調試器的喜歡網址:

https://developers.facebook.com/tools/debug