gpt4 book ai didi

facebook - 如何强制 facebookexternalhit 重新访问?

转载 作者:行者123 更新时间:2023-11-30 05:27:41 29 4
gpt4 key购买 nike

我正在通过发布它们来玩 Facebook 链接。第一次来自包含“facebookexternalhit”的用户代理的访问将访问您的站点并查找 some meta tags .

到目前为止一切顺利。但是,如果我尝试重新发布链接,则不会发生 furure 调用。如何触发让 facebook 再次阅读该页面?

我可以使用一些 API 调用来触发更新吗?

最佳答案

Like Button 的文档中它说:

When does Facebook scrape my page?

Facebook needs to scrape your page to know how to display it around the site.

Facebook scrapes your page every 24 hours to ensure the properties are up to date. The page is also scraped when an admin for the Open Graph page clicks the Like button and when the URL is entered into the Facebook URL Linter. Facebook observes cache headers on your URLs - it will look at "Expires" and "Cache-Control" in order of preference. However, even if you specify a longer time, Facebook will scrape your page every 24 hours.

The user agent of the scraper is: "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"

Linter 现在被称为 Facebook Debugger当您将它用于 url 时,它将清除同一 url 的 facebook 缓存,然后缓存新结果。

关于facebook - 如何强制 facebookexternalhit 重新访问?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10204940/

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