我有以下输出https://developers.facebook.com/tools/debug
我添加了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>
tag:
<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 区域设置和这个对象调试器在 opg 上给出了无关属性和推断属性错误
但我还有无关的财产 error
Edit:我使用了这个文档:https://developers.facebook.com/docs/opengraph/#extra-data当我浏览到开放图的命名空间定义时,我没有看到纬度和经度选项,但 Facebook 的文档确实推荐了它。但Facebook的调试器不接受它。我在这里缺少一些东西......
Edit2:我有:
<meta property="og:type" content="company" />
但脸书说:https://graph.facebook.com/10150616664862786
类型: 网站
???
为什么 Facebook 会看到不同的类型?我该如何解决这个问题?