Facebook喜欢-显示og:image缓存版本,刷新或重新编制索引的方式吗? [英] Facebook like - showing cached version og:image, way to refresh or reindex it?

查看:182
本文介绍了Facebook喜欢-显示og:image缓存版本,刷新或重新编制索引的方式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Facebook like和缓存的og:image出现问题.

Having an issue with Facebook like and a cached og:image.

长话短说: Facebook已缓存了我们的喜欢图片的旧版本.元内容URL不能更改.我可以做些什么来刷新它吗?

Long story short: Facebook has cached an older version of our like image. The meta content URL can't be changed. Is there anything I can do to refresh it?

长话短说: 我正在工作的网站具有og:image的元标记,当页面被喜欢时Facebook会使用og:image.该元标记在网站的所有页面上使用相同的图像URL.该图像只是该网站的品牌图像.

Long story: The site I'm working on has a meta tag for an og:image that Facebook uses when a page is liked. This meta tag uses the same image URL on all pages across the site. The image is simply a branding image for the site.

问题是该网站最近更新了其品牌,我们无法更新类似Facebook的图片.当用户单击喜欢"链接时,在Facebook上显示的帖子仍显示旧的品牌形象.

The issue is the site recently updated their branding, and we can't get the Facebook like image to update. When a user clicks the like link, the resulting post to Facebook still shows the old branding image.

元标记类似于:

<meta property="og:image" content="http://[domain].com/images/bookmark/apple-touch-icon.png"/>

每当有喜欢的人进入Facebook时,图像的URL都会更改为缓存的Facebook URL,类似于:

Whenever a like makes its way to Facebook, the URL to the image is changed to the cached Facebook URL, similar to this:

http://external.ak.fbcdn.net/safe_image.php?d=AQDajxm-qgVNdfEL&w=90&h=90&url=http%3A%2F%2F[domain].com%2Fimages%2Fbookmark%2Fapple-touch-icon.png

此URL显示网站品牌的旧版本.已经有一个多星期了,还没有更新.

This URL displays the older version of the site's branding. It has been over a week, and it has not updated yet.

是否有任何方法可以迫使Facebook重新索引图像/清除其缓存?或者,Facebook是否会定期自动执行此操作?我找不到与此相关的任何信息.

Is there any way to force Facebook to reindex the image/clear it's cache? Or, does Facebook periodically do this automatically? I couldn't find any relevant information on this.

我知道更改meta标记中的URL可以解决此问题,但是meta标记是由跨多个站点使用的代码生成的,因此无法更改.我还尝试了其他人向我建议的delinter工具.没运气.

I know that changing the URL in the meta tag could fix the issue, but the meta tag is generated by code used across multiple sites and it can not be changed. I also tried the delinter tool as was suggested to me by others. No luck.

推荐答案

将URL插入其 linter ,并且应该重新加载其缓存

Insert your URL into their linter and it should reload its cache

这篇关于Facebook喜欢-显示og:image缓存版本,刷新或重新编制索引的方式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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