gpt4 book ai didi

facebook - 刷新发布的 URL 中的元数据

转载 作者:行者123 更新时间:2023-11-30 05:14:38 25 4
gpt4 key购买 nike

在 Facebook 中,当我发布链接时 http://wisdomuniversity.org , Fascebook 包含旧的元数据(标题、描述等)。我最近添加了 Open Graph Protocol 元标记,但 Facebook 仍在使用旧的东西。 Facebook 如何刷新此元数据,我可以强制刷新吗?

最佳答案

您需要 ping facebook 并通知他们更新更改,为此您可以使用 URL Linter . Facebook 可能需要一些时间来更新您的更改。我不确定他们在 ping 后需要多长时间才能更新,但请尝试一下。

编辑: 这是官方来自 facebook 的:Open Graph protocol

Editing Meta Tags

You can update the attributes of your page by updating your page's tags. Note that og:title and og:type are only editable initially - after your page receives 50 likes the title becomes fixed, and after your page receives 10,000 likes the type becomes fixed. These properties are fixed to avoid surprising users who have liked the page already. Changing the title or type tags after these limits are reached does nothing, your page retains the original title and type.

For the changes to be reflected on Facebook, you must force your page to be scraped. The page is scraped when an admin for the page clicks the Like button or when the URL is entered into the Facebook URL Linter. You can programmatically force your page to be scraped by cURL'ing the linter. For example:

curl
> https://developers.facebook.com/tools/lint/?url={YOUR_URL}&format=json

关于facebook - 刷新发布的 URL 中的元数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6754078/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com