我有 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
之前,它正在工作。突然间我需要改变任何我不知道的东西。
最佳答案
首先,始终使用like按钮生成器:
https://developers.facebook.com/docs/reference/plugins/like/
其次,在许多情况下,使用带有应用程序 ID 的“赞”按钮会有所帮助。如果您使用应用程序 ID 进行 facebook 集成,通常垃圾邮件确认不会经常出现。
示例(填写 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 调试器中刷新喜欢的 URL 可能会有所帮助:
关于facebook-like - 喜欢按钮(确认),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13356228/