How to clear debug tool cache data?

2019-01-21 11:23发布

It seems the facebook debug tool http://developers.facebook.com/tools/debug is using a cache.

I made an update to my site but facebook debug tool is still showing up the old data.

Is their any way to force facebook to refresh its data? It has been a few days now and it seems the cache will not expire.

7条回答
贪生不怕死
2楼-- · 2019-01-21 11:48

This hasn't been added to in a couple of years, but I've just had the same issue and found a way that immediately resolved it.

Facebook say:

Use og:image:width and og:image:height Open Graph tags Using these tags will specify the image to the crawler so that it can render it immediately without having to asynchronously.

Putting this into use should look like this:

<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />

Solved the problem straight away! Hope this helps!

查看更多
登录 后发表回答