问题描述
我使用Open Graph对我的元标记造成困扰。好像Facebook正在缓存我的元标记的旧值。属性的旧值 og:title 和 og:url 仍然使用,即使我已经更改了它们。 / p>
我在
示例: / p>
- http://www.example.com?fbrefresh=CAN_BE_ANYTHING
- http://www.example.com?postid=1234&fbrefresh=CAN_BE_ANYTHING
- OR访问:
http://developers.facebook.com/tools/debug/og/object?q=http://www.example.com/?p=3568&fbrefresh=89127348912
昨天晚上我遇到了同样的问题,我从一些网站获得了这个解决方案。
Facebook保存您的缓存缩略图。即使您从服务器中删除thumnail / image也不会刷新。但是,Facebook允许您使用 fbrefresh
刷新,希望这有助于您。
I'm having troubles with my meta tags with Open Graph. It seems as though Facebook is caching old values of my meta tags. Old values for Attributes og:title and og:url are still used, even though I have changed them already.
I ran Lint on a page in my site, and this appeared:
Notice that there are two values for og:title and og:url, and the last one prevailed. However, The last two entries are the OLD entries that I used for this site. I am now currently using these meta tags (you can verify if you view the source of the HTML):
<meta property="og:title" content="Smart og rummelig pusletaske fra Petit Amour med god plads til alt – værdi 1.099 kr – køb nu kun 599 kr "/> <meta property="og:description" content="Pinq.dk - Det gode liv for det halve"/> <meta property="og:type" content="product"/> <meta property="og:url" content="http://pinq.dk/tilbud/landsdaekkende/lissy/"/> <meta property="og:image" content="http://pinq.dk/wp-content/themes/pinq/images/logo-top.png"/> <meta property="og:site_name" content="Pinq" /> <meta property="fb:app_id" content="161840830532004" />
Why is Facebook caching og:title and og:url? Is anyone experiencing the same issue?
- Go to http://developers.facebook.com/tools/debug
- Enter the URL following by fbrefresh=CAN_BE_ANYTHING
Examples:
- http://www.example.com?fbrefresh=CAN_BE_ANYTHING
- http://www.example.com?postid=1234&fbrefresh=CAN_BE_ANYTHING
- OR visit:http://developers.facebook.com/tools/debug/og/object?q=http://www.example.com/?p=3568&fbrefresh=89127348912
I was having the same issue last night, and I got this solution from some website.
Facebook saves your cache thumbnail. It won't refresh even if you delete the thumnail/image from your server. But Facebook allows you to refresh by using fbrefresh
I hope this helps.
这篇关于Facebook Open Graph不清除缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!