【问题标题】:Facebook Open Graph article:author links to wrong personFacebook Open Graph 文章:作者链接到错误的人
【发布时间】:2014-09-03 15:57:44
【问题描述】:

我使用 Facebook Opengrah 标签:

<meta property="fb:admins" content="605862"/>
<meta property="og:site_name" content="PhillyGayCalendar.com"/>
<meta property="og:title" content="Is Gay Media Insensitive to the Trans Experience?"/>
<meta property="og:url" content="http://phillygaycalendar.com/pages/col.php?id=943"/>
<meta property="og:image" content="http://phillygaycalendar.com/Connections/thumb.php?src=http://phillygaycalendar.com/images/columns/943.jpg&h=292&w=560&zc=1&a=t"/>
<meta property="og:type" content="article " />
<meta property="article:publisher" content="https://www.facebook.com/phillygaycalendar" />
<meta property="article:author" content="https://www.facebook.com/MrLovehall" />

当我将链接发布到 facebook 时,它显示了错误的作者。它列出了我(谁是管理员),但没有列出作者或作品的 MrLoveHall。

原文链接:http://phillygaycalendar.com/pages/col.php?id=943

我做错了吗?我该如何解决它

【问题讨论】:

  • FB debug tool says, “页面上的元标记以名称“作者”指定,与此对象类型的配置属性匹配。除非使用 meta property 属性而不是 meta name 属性指定,否则它将被忽略。” – 您在页面下方有 &lt;META NAME='AUTHOR' CONTENT='Steve McCann'&gt;,这可能就是此消息所指的内容 – 所以尝试删除那,然后看看调试工具说了什么。
  • 你的 HTML 很糟糕(meta/linkhtml 之前,DOCTYPE 在head 之后,两个head 元素等)。
  • 这里有同样的问题。你有解决方案吗? [我的帖子][1] [1]:stackoverflow.com/questions/28703102/…

标签: facebook facebook-graph-api facebook-opengraph meta-tags author


【解决方案1】:

三年后遇到这个问题,想指出 CBroe 的答案是正确的。不知道为什么它没有被列为已解决,因为目标页面似乎已经用该答案更正了。现在页面上是:

<meta property="article:author" content="https://www.facebook.com/MrLovehall" />
<meta name="author" content="Christian Axavier Lovehall" />

Facebook 调试器抱怨您以两种方式指定了作者,它只接受文章:作者并显示作者警告。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-02-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-13
    • 1970-01-01
    • 2021-07-01
    相关资源
    最近更新 更多