Facebook Open Graph标签仅在我登录Wordpress时显示在我的源代码中



有问题的网站:http://www.fedterra.ca

通过我的wordpress主题中的标题文件,我的源代码中设置了我的Facebook(和Twitter的元数据)的打开图标签:

<meta property="og:url"                content="http://www.fedterra.ca/" />
<meta property="og:type"               content="website" />
<meta property="og:title"              content="Fed Terra: Nourishing Body and Mind" />
<meta property="og:description"        content="Stay fed and nourish your territory. Jaime Brooks at Fed Terra offers body and mind empowerment, meal planning and arompatherapy, and regularly teaches classes to stay healthy and make your own valuable gifts." />
<meta property="og:image"              content="http://fedterra.ca/wp-content/uploads/2016/12/facebookcard.jpg" />

<meta name="twitter:card" content="summary_large_image" />
<meta property="og:url" content="http://fedterra.ca" />
<meta property="og:title" content="Nourishing Body and Mind" />
<meta property="og:description" content="Stay fed and nourish your territory. Jaime Brooks at Fed Terra offers body and mind empowerment, meal planning and arompatherapy, and regularly teaches classes to stay healthy and make your own valuable gifts." />
<meta property="og:image" content="http://fedterra.ca/wp-content/uploads/2016/12/facebookcard.jpg" />

当我在隐身铬窗口中查看源时,我保存的标题OG标签消失了。view-source:http://fedterra.ca/

毫不奇怪,Facebook并没有刮擦标签。Twitter卡验证者说我没有将它们列入白名单。

看来这个人有相同的怪癖,但没有发布有关如何使标签显示在用户中的非遗迹的答案:未经Facebook读取的打开图标签,而是在页面源

我尝试了什么:

  • 停用任何不必要的插件
  • 通过FTP更改标头文件
  • 通过yoast插件添加标签

是时候关闭我自己的问题了。

事实证明,该客户端的服务器(这是我对其的外行理解)很慢。非常慢。我从来没有og标签需要数小时甚至几分钟才能传播,但仅此而已。

在这里进行了2个小时的搜索答案并设置个人资料以询问,我看到他们已经传播了(我认为),因为Facebook共享卡预览终于刮擦并显示了我的标签。

在这里可以测试您的共享卡:https://developers.facebook.com/tools/debug/sharing/

P.S。是的,我确实拼写了正确的芳香疗法。

最新更新