1

The following meta tags produce the linter warning below. I read on a blog or two that facebook no longer uses these tags, but given their interface, I have a hard time believing it. Does anyone see any problems?

  <meta property="og:latitude" content="27.41076"> 
  <meta property="og:longitude" content="-82.65850"> 
  <meta property="og:street-address" content="5441 Gulf of Mexico Drive"> 
  <meta property="og:locality" content="Longboat Key"> 
  <meta property="og:region" content="FL"> 
  <meta property="og:postal-code" content="34228"> 
  <meta property="og:country-name" content="USA"> 
  <meta property="og:locale" content="en_us" />

enter image description here


Open Graph Warnings That Should Be Fixed

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: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:region'.

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'.

4

1 に答える 1

2

メタ タグは名前空間で開始する必要があります。

<meta property="place:location:latitude" content="45.50251415561716" /> 
<meta property="place:location:longitude" content="-73.5713430027785" /> 
<meta property="place:location:altitude" content="42" /> 

詳細については、https://developers.facebook.com/docs/opengraph/complextypes/#geopointをご覧ください。

http://philippeharwood.com/facebook/geopoint.htmlで実際の動作を確認してください。

警告: 現在、デバッガーにバグがあります: http://developers.facebook.com/bugs/432088663509632

于 2012-07-31T01:22:55.913 に答える