Open Graph属性中的原始元标记

时间:2015-08-07 06:35:42

标签: javascript jquery html facebook-opengraph opengraph

我创建了带有元标记的简单html页面,以便在facebook上共享一些图像,文本和网址。我托管了这个文件并在Open Graph Object Debugger中看到了该链接。但它只能在我的og中获取原始标记的图像和描述: url property.it没有在我的页面中显示og:image,og:description属性。我想添加url,不同的图像和description.how添加元标记来做到这一点?

<!DOCTYPE html>
<html>
<head>
<meta property="og:url"  content="http://www.google.com" />
<meta property="og:description" content="some text" />
<meta property="og:image" content="http://example.com/images/image1.jpg" />
<meta property="og:title"  content="title" />
</head>
<body>
<h1>HELLO WORLD</h1>    
</body>
</html>

0 个答案:

没有答案