wrong og:description

一世执手 提交于 2020-01-12 19:15:08

问题


Facebook does not get information from description Open Graph tags I do get following error but not for description field

The og:url property should be explicitly provided, even if a value can be inferred from other tags.

I do have in header (Wordpress)

<meta property="og:description" content="<?php echo strip_tags(the_excerpt()); ?>" /> 

bugzilla shows correct source of the page

<meta property="og:description" content="<p>3D organs modeled for real-time DVD application</p>" />

But on fb page description shown is JavaScript code from google analytics :)

"var _gaq = _gaq || []; _gaq.push(['_setAccount'..."

Do you spot the error somewhere?

By the way... I know fb caches information... is there a way to reset it?


回答1:


To refresh the cache run the url through Facebooks URL Linter here http://developers.facebook.com/tools/debug. What is the url you are trying to parse?



来源:https://stackoverflow.com/questions/7627705/wrong-ogdescription

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!