Facebook 分享数保持为零
我现在在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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/