Facebook 分享按钮返回错误
示例网址:
这是 Share JS 生成的内容。如果您访问链接(解码后):
[...].com/2011/09/2124/rugby-world-cup-daily-tonga-beat-japan
您可以查看源代码并查看开放图元标签。
如果分享网址更改为:
[...].com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan2&src=sp
(在网址末尾添加 2)结果很好。与其他帖子类似:
所以我得到的只是“错误”,无法知道发生了什么 错误的。
任何见解都会很棒。有人认为该网址已被 FB 标记或禁止,但无法判断。
使用 [...] 是因为我不能使用超过 2 个 url。
Example url:
That's what's generated by the Share JS. If you visit the link (after decoding):
[...].com/2011/09/2124/rugby-world-cup-daily-tonga-beat-japan
You can view source and see open graph meta tags.
If the share url is changed to:
[...].com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan2&src=sp
(Adding a 2 to the end of the url) the result is fine. Likewise with other posts:
So all I'm getting is "Error" with no way of knowing what went wrong.
Any insight would be great. A thought was that the url was flagged or banned by FB but no way to tell.
[...] is used cause I can't use more than 2 urls.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 Facebook 开发者调试页面中重新链接了您的 URL:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2124%2Frugby-world-cup- daily-tonga-beat-japan%2F
现在看起来工作正常。 Facebook 会缓存从页面获取的数据,因此他们很可能在页面出现错误消息而不是正常内容期间访问您的页面。
I re-linted your URL in the Facebook developer debug page:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan%2F
and it appears to work fine now. Facebook caches the data obtained from a page, so it's likely they hit your page during a period in which it had an error message instead of the usual contents.