我在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