Facebook无法识别开放图形标记og:title

时间:2015-06-16 16:11:58

标签: facebook facebook-graph-api-v2.0

我不断从Facebook获得以下错误 -

Object at URL 'https://qa.recrouter.com/displayJob/Y6LtGNI0WH1rVndaKCwv4PUZkM925mcq' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

然而,当我去调试器看看刮刀看到了什么时,我看到以下信息确实包含在页面中 -

<meta property="og:type" content="website">
<meta property="og:title" content="Pega Developer for Insurance Claims">
<meta property="og:description" content="
We are a leading provider of insurance products for commercial and institutional customers through one of the world&rsquo;s most far-reaching property casualty networks. We offer some of the industry&rsquo;s most extensive ranges of products and services, ...">
<meta property="og:site_name" content="Recrouter">
<meta property="og:url" content="https://qa.recrouter.com/displayJob/Y6LtGNI0WH1rVndaKCwv4PUZkM925mcq">
<meta property="og:image" content="https://qa.recrouter.com/img/logo512h.png">
<meta property="og:image:type" content="image/png">

我错过了什么?

2 个答案:

答案 0 :(得分:0)

当我在调试器上检查您的网址时,我没有收到此错误,og:title标记似乎完美无缺。试着再看看;)

答案 1 :(得分:0)

我修复了它 - 基本上,错误是由于我对标签所做的修改。为了适应谷歌分享,我修改了HTML标签如下 - <!DOCTYPE html itemscope itemtype="schema.org/website">

我将其更改回<!DOCTYPE html>,一切正常