5

我有 Facebook Like 按钮,但它没有显示在我的时间线中。当我在我的网站上单击“赞”按钮时。它将更改为确认单击此按钮后,将弹出一个小窗口来喜欢该产品。在那个小窗口的链接中,它说的是这样的

http://www.facebook.com/plugins/error/confirm/like?iframe_referer=http%3A%2F%2F3beachschemist.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%252F3beachschemist.doublet.com.au %252Ff39b47030%26domain%3D3beachschemist.doublet.com.au%26relation%3Dparent.parent%22%2C%22href%22%3A%22http%3A%2F%2F3beachschemist.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

以前,它正在工作。突然之间,我需要更改任何我不知道的东西。

4

1 回答 1

0

首先,总是使用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 可能会有所帮助:

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

于 2012-11-14T08:41:48.483 回答