2014-09-03 56 views
2

我使用Facebook Opengrah标签:Facebook的Open Graph的文章:作者链接错了人

<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

上午我做错了?我该如何解决这个问题

+1

[FB调试工具说](https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fphillygaycalendar.com%2Fpages%2Fcol.php%3Fid%3D943) ,_“页面上的元标记是用名称'author'指定的,该名称与此对象类型的配置属性相匹配。它将被忽略,除非用元属性属性而不是meta name属性指定。“_ - 你有''在页面的下方,这可能是什么这条消息指的是 - 试着去掉它,然后看看调试工具说了些什么。 – CBroe 2014-09-03 16:48:34

+0

您的HTML非常糟糕(''html'之前的'meta' /'link','head'之后的DOCTYPE,两个'head'元素等)。 – unor 2014-09-04 08:53:21

+0

同样的问题在这里。你有解决方案吗? [我发布] [1] [1]:http://stackoverflow.com/questions/28703102/facebook-sharer-showing-almost-always-the-wrong-author – Marco 2015-03-08 15:33:29

回答

0

在这三年之后,我想指出,CBroe的回答是正确的。不知道为什么它没有被列为解决方案,因为它看起来目标页面已经被该答案纠正。在页面现在是:

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

Facebook的调试器抱怨,你有两种方式指明作者和只接受相应的文章:作者和显示器的作者警告。