我在https://developers.facebook.com/tools/debug的Facebook的Open Graph和元标记
以下输出我加了locale
元标记,因为我有很多的外来地产错误。但是这并不能解决问题。
Extraneous Property: Objects of this type do not allow properties named og:latitude
Extraneous Property: Objects of this type do not allow properties named og:longitude.
Extraneous Property: Objects of this type do not allow properties named og:region.
Extraneous Property: Objects of this type do not allow properties named og:street-address.
Extraneous Property: Objects of this type do not allow properties named og:locality.
Extraneous Property: Objects of this type do not allow properties named og:postal-code.
Extraneous Property: Objects of this type do not allow properties named og:country-name.
Extraneous Property: Objects of this type do not allow properties named og:email.
Extraneous Property: Objects of this type do not allow properties named og:phone_number.
Extraneous Property: Objects of this type do not allow properties named og:fax_number.
我也有在<html>
标签的命名空间:
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="http://ogp.me/ns/fb#">
我也曾尝试xmlns:fb="https://www.facebook.com/2008/fbml"
如下建议:https://developers.facebook.com/docs/opengraph/
我的文档类型是<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
我已签这个线程Facebook Open Graph locale for Australia和这个Object Debugger gives me Extraneous Property And Inferred Property error on opg
但我仍然有外来地产错误
编辑:我用这个文档:https://developers.facebook.com/docs/opengraph/#extra-data当我浏览到的Open Graph的命名空间定义,我没有看到纬度经度和选项,但Facebook的文档确实会推荐它。但Facebook的调试器不接受它。我失去了一些东西在这里...
EDIT2:我:
<meta property="og:type" content="company" />
但Facebook表示:https://graph.facebook.com/10150616664862786
类型:网站 ???
为什么Facebook看到不同的类型?我该如何解决这个问题?
你可以给你的网站的链接吗? – Abby