要求 facebook 重新抓取 URL [英] Ask facebook to re-scrape URL

查看:19
本文介绍了要求 facebook 重新抓取 URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近更改了网站的 og:image.该站点包含 100 多个页面,每个页面都包含各自的 og:image.我如何要求或强制 facebook 重新抓取所有页面,以便更新图像?使用 facebook 调试器工具将是一项太乏味的任务.在 facebook 重新抓取网站之前,我将无法提交该应用的收藏.

解决方案

根据您的情况,您有两种选择

  1. 根据 ysrb 的回答,使用 Open Graph Debugger 工具循环浏览您的 URL 列表

  2. 或者耐心等待 30 天,直到 Facebook 按照文档中的说明重新抓取您的主页 这里

<块引用>

Facebook 为什么以及何时抓取我的网站?

Facebook 需要抓取共享到 Facebook 的链接,以了解要在 Facebook.com 或 Facebook(iOS 和 Android)上显示哪些链接预览信息.这每 30 天发生一次,以确保属性是最新的.将 URL 输入到调试器工具中时,链接的页面也会被抓取.

Facebook 会观察您网址上的缓存标头 - 它会查看Expires";和缓存控制"按优先顺序排列.但是,即使您指定更长的时间,Facebook 也会每 30 天抓取一次您的页面.

The og:image of the website has been changed recently. The site contains more than 100 pages, each containing their individual og:image. How can i ask or force facebook to re-scrape all the pages, so that the image gets updated? Using the facebook debugger tool will be too tedious task. Until facebook re-scrape's the site, i won't be able to submit collection for the app.

解决方案

You have two alternatives here in your situation

  1. As per ysrb's answer loop through list of your URLs with the Open Graph Debugger tool

  2. Or wait patiently for 30 days until Facebook re-scrapes your Pages as it says in documentation here

Why and when does Facebook scrape my website?

Facebook needs to scrape links shared to Facebook to know which to link preview information to show on Facebook.com or on Facebook for iOS and Android. This happens every 30 days to ensure the properties are up to date. The linked page is also scraped when the URL is entered into the Debugger Tool.

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 30 days.

这篇关于要求 facebook 重新抓取 URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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