У меня есть набор метатегов og на моей странице. Когда я захожу в отладчик Facebook и даю ему URL-адрес, он сообщает:
Meta Tag <meta property="og:type" content="landmark" />
Meta Tag <meta property="og:locale" content="en_GB" />
Meta Tag <meta property="og:latitude" content="51.5410881042" />
Meta Tag <meta property="og:longitude" content="-0.145712554455" />
Meta Tag <meta property="og:locality" content="London" />
Meta Tag <meta property="og:region" content="Greater London" />
Meta Tag <meta property="og:postal-code" content="NW1 7HY" />
Meta Tag <meta property="og:country-name" content="United Kingdom" />
Но возвращает свойство объекта:
og:тип сайт
а потом жалуется:
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: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'.
Если я ввожу глупый og:type, например, "beercan", он сообщает о недопустимом типе og. Таким образом, Landmark распознается как допустимый тип, но затем игнорируется (и предполагается, что это веб-сайт).
Кто-нибудь понял, что происходит.