像按钮这样的facebook显示了成千上万的喜欢(facebook like button shows tens of thousands of likes)

我在我的应用程序中嵌入了facebook like button:

<li id="fb-wr" class="header-bar-item"> <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=777"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> </li>

现在问题是它显示了不正确的喜欢数量 - 目前它是93k并且每天都在增长。 我已经尝试使用facebook调试器进行调试 ,这里显示的是:

管理员和应用程序ID丢失 fb:admins和fb:app_id标签丢失。 Facebook需要这些标签来呈现生成高点击率的新闻Feed故事。 喜欢Button Tag Missing og:标题丢失了。 og:title元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。 喜欢Button Tag Missing og:缺少类型。 og:type元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。 喜欢Button Tag Missing og:图像丢失了。 og:image元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。

但这些都是警告,而不是错误。 我不认为他们中的任何一个都会导致奇怪的数量。 控制台也显示没有错误。 那可能是什么错?

I have embedded facebook like button into my application:

<li id="fb-wr" class="header-bar-item"> <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=777"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> </li>

Now the problem is that it shows incorrect number of likes - currently it's 93k and growing with each day. I've tried debugging with facebook debugger and here what it showed me:

Admins And App ID Missing fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:title is missing. The og:title meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:type is missing. The og:type meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.

But these are warning and not errors. I don't think that any of them causes the weird count. Console shows no errors as well. So what could be wrong?

最满意答案

像按钮商店的Facebook喜欢每页

data-href="https://developers.facebook.com/docs/plugins/"

告诉facebook这个按钮是针对页面https://developers.facebook.com/docs/plugins/

这应该用你的网址替换

facebook like button stores likes per page

data-href="https://developers.facebook.com/docs/plugins/"

tells facebook that this button is for page https://developers.facebook.com/docs/plugins/

this should be replaced with your url

像按钮这样的facebook显示了成千上万的喜欢(facebook like button shows tens of thousands of likes)

我在我的应用程序中嵌入了facebook like button:

<li id="fb-wr" class="header-bar-item"> <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=777"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> </li>

现在问题是它显示了不正确的喜欢数量 - 目前它是93k并且每天都在增长。 我已经尝试使用facebook调试器进行调试 ,这里显示的是:

管理员和应用程序ID丢失 fb:admins和fb:app_id标签丢失。 Facebook需要这些标签来呈现生成高点击率的新闻Feed故事。 喜欢Button Tag Missing og:标题丢失了。 og:title元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。 喜欢Button Tag Missing og:缺少类型。 og:type元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。 喜欢Button Tag Missing og:图像丢失了。 og:image元标记是Facebook呈现生成高点击率的新闻Feed故事所必需的。

但这些都是警告,而不是错误。 我不认为他们中的任何一个都会导致奇怪的数量。 控制台也显示没有错误。 那可能是什么错?

I have embedded facebook like button into my application:

<li id="fb-wr" class="header-bar-item"> <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=777"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> </li>

Now the problem is that it shows incorrect number of likes - currently it's 93k and growing with each day. I've tried debugging with facebook debugger and here what it showed me:

Admins And App ID Missing fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:title is missing. The og:title meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:type is missing. The og:type meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate. Like Button Tag Missing og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.

But these are warning and not errors. I don't think that any of them causes the weird count. Console shows no errors as well. So what could be wrong?

最满意答案

像按钮商店的Facebook喜欢每页

data-href="https://developers.facebook.com/docs/plugins/"

告诉facebook这个按钮是针对页面https://developers.facebook.com/docs/plugins/

这应该用你的网址替换

facebook like button stores likes per page

data-href="https://developers.facebook.com/docs/plugins/"

tells facebook that this button is for page https://developers.facebook.com/docs/plugins/

this should be replaced with your url