Facebook喜欢按钮拉旧元描述

时间:2011-11-14 22:38:40

标签: facebook

所以,这是我的代码:

<meta property="og:description"
      content="OnlyInStanCo is a site created so people can share their complaints, praise, or stories about what it's like to live in, grow up in, work in, or anything else in the black hole affectionately known as StanCo. ">

我在网站上运行了linter工具,但它仍然有一个旧描述。

有什么想法吗?

2 个答案:

答案 0 :(得分:2)

将您的网址发送到https://developers.facebook.com/tools/debug上的表单 它应该重置缓存的元信息并调试您的页面。

答案 1 :(得分:0)

xmlns:fb="http://ogp.me/ns/fb#"添加到您的<html>开始标记中,就在HTML文档中的<head>标记之前。这解决了我的问题。

e.g。 <html xmlns:fb="http://ogp.me/ns/fb#">