Facebook 分享数保持为零

发布于 2024-11-11 06:30:19 字数 573 浏览 7 评论 0原文

我现在在使用 Facebook 分享按钮时遇到问题。我用于共享器的网址是:

var facebook = "http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D="+encodeURIComponent(title)+'&p%5Bsummary%5D='+encodeURIComponent(desc)+'&p%5Burl%5D='+encodeURIComponent(url);

现在,问题在于计数的奇怪行为..每当我从网站共享网址时,它都会被共享,并且我可以看到该网址与我想要的相同,即

mydomain.com/post/123/vote/5/

但是,当我使用 FQL 从 link_stat 表请求 share_count 时,它显示 0

然后,如果我转到我的墙并单击该共享故事下方的“共享”并再次共享,计数会增加 1

PS:og:meta 标记已设置向上在该页面上,Facebook URL linter 向他们显示,

有人有同样的错误吗?

I'm having a problem now with Facebook share button. The url i use for sharer is:

var facebook = "http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D="+encodeURIComponent(title)+'&p%5Bsummary%5D='+encodeURIComponent(desc)+'&p%5Burl%5D='+encodeURIComponent(url);

Now, the problem is with strange behaviour of the count.. whenever i share a url from the website, it gets shared ok, and i can see that the url is the same as i want, i.e.

mydomain.com/post/123/vote/5/

But, when i request share_count from link_stat table with FQL, it shows 0

Later then, if i go to my wall and click Share below that shared story and share it again, the count rises by 1

PS: the og:meta tags are set up on that page, and Facebook URL linter shows them ok

did anyone have same bug?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半边脸i 2024-11-18 06:30:19

Sharer 在 2011 年 3 月左右被弃用 - Involver 有一篇很好的文章:
http://blog.involver.com/2011/ 03/15/whats-happening-to-facebook-share/

目前,最好的分享方式是使用“Like + Send”按钮或“Feed Dialog”:
http://developers.facebook.com/docs/reference/dialogs/feed/

Sharer was deprecated around March 2011 - Involver has a good post on it:
http://blog.involver.com/2011/03/15/whats-happening-to-facebook-share/

Currently the best way to share is using the Like + Send button or the Feed Dialog:
http://developers.facebook.com/docs/reference/dialogs/feed/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文