【问题标题】:Facebook not recognizing open graph tag og:titleFacebook 无法识别打开的图形标签 og:title
【发布时间】:2015-06-16 16:11:58
【问题描述】:

我不断从 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">

我错过了什么?

【问题讨论】:

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


    【解决方案1】:

    我在调试器上检查您的 URL 时没有收到此错误,og:title 标记似乎工作正常。试着再看看;)

    【讨论】:

    • 我修复了它 - 基本上,错误是由于我对 标记所做的修改。为了适应谷歌分享,我修改了 HTML 标签如下 - temscope itemtype="schema.org/website"> - 我把它改回 并且一切正常
    【解决方案2】:

    我已修复它 - 本质上,该错误是由于我对标签所做的修改造成的。为了适应谷歌分享,我修改了 HTML 标签如下 - &lt;!DOCTYPE html itemscope itemtype="schema.org/website"&gt;

    我把它改回&lt;!DOCTYPE html&gt;,一切正常

    【讨论】:

    • 请帮帮我,我遇到了类似的问题
    猜你喜欢
    • 1970-01-01
    • 2014-07-15
    • 2013-04-24
    • 2012-06-18
    • 1970-01-01
    • 2022-01-05
    • 1970-01-01
    • 2015-12-26
    • 2015-03-02
    相关资源
    最近更新 更多