Facebook sharer.php 500错误 [英] Facebook sharer.php 500 error
问题描述
此刻,我试图在Facebook上共享链接,而不使用JavaScript或Facebook应用ID.
At the moment I am attempting to share a link on Facebook without the use of JavaScript or a Facebook app id.
以前,我可以有一个超链接到: https://www.facebook.com/sharer/sharer.php?u=urlhere
并且Facebook会抓取og:tags并允许我分享一个网站.
Previously I could have a hyperlink to: https://www.facebook.com/sharer/sharer.php?u=urlhere
and Facebook would scrape for og:tags and allow me to share a site.
此刻,当我尝试提交一个Facebook以前未爬网的链接时,我遇到了500错误.
At the moment I'm encountering a 500 error when I attempt to submit a link that has not previously been crawled by Facebook.
如何重现该错误
- 查找您确定尚未被FB抓取的新链接.推文就是很好的例子.
- 尝试访问
https://www.facebook.com/sharer/sharer.php
并粘贴您的链接 - 提交表单并查看帖子预览
- 尝试提交该帖子
- 如果您使用了新的URL,则很有可能会收到类似500的错误:
POST https://www.facebook.com/ajax/sharer/submit_page/500(内部服务器错误)
- 如果刷新页面并尝试再次提交相同的URL,它将成功发布.
- 一旦链接被Facebook抓取,它就可以正常工作
有人对这种共享方法有类似的问题吗?
Anyone having similar problems with this method of sharing?
推荐答案
这是一个有效的Facebook错误,请参见 https://developers.facebook.com/bugs/795945327148024/.
This is a valid Facebook bug, see https://developers.facebook.com/bugs/795945327148024/.
这篇关于Facebook sharer.php 500错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!