【问题标题】:Warning Object at URL '...' for property 'og:image:url' could not be parsed as type 'url'属性 'og:image:url' 的 URL '...' 处的警告对象无法解析为类型 'url'
【发布时间】:2015-11-06 02:15:12
【问题描述】:

我使用以下元数据

   <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=0.3" />
        <meta property="og:title" content="Retour vers le pr&eacute;sent">
        <meta property="og:type" content="website">
        <meta property="og:url" content="http://retourverslepresent.be/">
        <meta property="og:image" content="http:/retourverslepresent.be/img/newfb.jpg">
        <meta property="og:image:type" content="image/jpg">
        <meta property="og:image:width" content="1200">
        <meta property="og:image:height" content="630">
        <meta property="og:description" content="Venez (re)découvrir la trilogie ce 21 octobre 2015">

但是当我尝试使用

调试页面时

https://developers.facebook.com/tools/debug/og/object/

我得到了错误:

“网站”类型的 URL“http://retourverslepresent.be/”处的对象无效,因为无法将属性“og:image:url”的给定值“http:/retourverslepresent.be/img/newfb.jpg”解析为输入“网址”。

知道为什么吗?

【问题讨论】:

    标签: facebook facebook-opengraph


    【解决方案1】:

    我的网址缺少 / 所以我替换了
    property="og:image" content="http://retourverslepresent.be/..

    meta property="og:image" content="http://retourverslepresent.be/..

    【讨论】:

      猜你喜欢
      • 2012-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-21
      • 1970-01-01
      • 2013-12-13
      • 2017-04-06
      相关资源
      最近更新 更多