Facebook分享按钮返回错误 [英] Facebook Share button returning error

查看:166
本文介绍了Facebook分享按钮返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

示例url:

http://www.facebook.com/sharer/sharer。 php?u = http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan& src = sp

这是Share JS生成的。如果您访问链接(解码后):

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

[...].com/2011/09/2124/rugby-world-cup-daily-tonga-beat-japan

您可以查看源代码并查看开放图表元标记。

You can view source and see open graph meta tags.

如果共享网址更改为:

[...]。com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan2& src = sp

[...].com%2F2011%2F09%2F2124%2Frugby-world-cup-daily-tonga-beat-japan2&src=sp

(添加一个2到url的结尾)结果很好。与其他帖子一样:

(Adding a 2 to the end of the url) the result is fine. Likewise with other posts:

http://www.facebook.com/sharer/sharer.php?u = http%3A%2F%2Fwww.rugbydump.com%2F2011%2F09%2F2119%2Frugby-world-cup-daily-christchurch-revisted& src = sp

所以我得到的只是错误,无法知道什么出错。

So all I'm getting is "Error" with no way of knowing what went wrong.

任何洞察力都会很好。一个想法是,该网址被FB标记或禁止,但没有办法告诉。

Any insight would be great. A thought was that the url was flagged or banned by FB but no way to tell.

[...]是因为我不能使用超过2个网址

[...] is used cause I can't use more than 2 urls.

推荐答案

我在Facebook开发人员调试页面中重新打开了您的URL:

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

现在似乎正常工作。 Facebook缓存从页面获取的数据,所以在有一个错误消息而不是通常的内容的期间,它们很可能会打到你的页面。

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.

这篇关于Facebook分享按钮返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆