刷新发布的 URL 中的元数据
在 Facebook 中,当我发布链接 http://wisdomuniversity.org 时,Fascebook 包含旧元数据(标题、描述等)。 )。我最近添加了开放图谱协议元标记,但 Facebook 仍然使用旧的东西。 Facebook 如何刷新此元数据?我可以强制刷新吗?
In Facebook, when I post the link http://wisdomuniversity.org, Fascebook includes old metadata (Title, description, etc.). I recently added Open Graph Protocol meta tags, but Facebook still uses the old stuff. How does Facebook refresh this metadata and can I force a refresh?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您需要 ping facebook 并通知他们更新更改并执行此操作,您可以使用
URL Linter。 Facebook 可能需要一些时间才能更新您的更改。我不确定 ping 后他们需要多长时间才能更新,但请尝试一下。
编辑:这是来自 facebook 的官方消息:Open Graph 协议
You need to ping facebook and notify them to update changes and to do that you can use
URL Linter. It may take some time for facebook to update your changes. I'm not sure how much time they take to update after pinging, but just try it.
EDIT: This is officially from facebook: Open Graph protocol
使用 Facebook 调试器并检测与 og FB 元数据相关的问题,https://developers.facebook.com/tools /调试/。然后,如果 Facebook 说您的图像太小,请拉一个更大的图像并使用图像的奇数宽度,例如 300px、500px 等。似乎当 FB 找不到正确的图像大小、标题或描述时,趋势会抢占主站点元数据。
Use Facebook debbugger and detect the problems related to og FB metadata, https://developers.facebook.com/tools/debug/. Then, if Fb says your image is too small, pull a bigger image and use odd width for the image e.g. 300px, 500px etc. It seems when FB doesn't find the correct image size, title or description, trends to grab main site metadata.
您可以更新开放图谱对象信息,但只需发送 CURL 请求,如下所示: https://developers.facebook.com/docs/sharing/opengraph/using-objects
我希望这有帮助......
You can update your Open Graph object information but just sending a CURL request, like documented here: https://developers.facebook.com/docs/sharing/opengraph/using-objects
I hope this helps...
工具网址已更改为 https://developers.facebook.com/tools/debug。现在 GET 请求应发送至:
https://developers.facebook.com/tools/debug/og/object?q={YOUR_URL}
。如果您收到错误“解析输入 URL 时出错,未抓取任何数据。”尝试将以下标头添加到请求中:
Referrer:https://developers.facebook.com
Tool URL has changed to https://developers.facebook.com/tools/debug. Now GET request should be sent to:
https://developers.facebook.com/tools/debug/og/object?q={YOUR_URL}
.If you are getting an error "Error parsing input URL, no data was scraped." try to add following header to a request:
Referrer: https://developers.facebook.com
截至 2016 年底,以编程方式通知 Facebook 您的 URL 发生变化并让它再次抓取的方法是向此 URL 提交 POST:
早期的方法(本页上提到的一些方法)已被弃用。 此处记录了此内容:
As of the end of 2016, the way to programmatically notify Facebook of changes in your URL and have it scrape it again is by submitting a POST to this URL:
Earlier ways, some noted on this page, have been deprecated. This is documented here: