
OGPのタグに新規に追加された【<meta property=”article:publisher”】を設定して、警告が出たのでその原因と解決方法を書きます。
Extraneous Property:
Objects of this type do not allow properties named ‘article:publisher’.
Parser Mismatched Metadata:
The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘article:publisher’
どちらも【<meta property=”article:publisher”】に何か関係がありそうな警告です。
原因
<meta property=
"og:type"
content=
"○○○"
/>
というogpの種類を指定するタグがあります。
このタグが、【website】や【blog】の場合のみ上記警告が出ます。
というのも【<meta property="article:publisher"】というものがブログ記事やトップページ以外の子ページを対象としたものだからのようです。
解決方法
トップページに設定したタグが【website】や【blog】の場合には、【<meta property="article:publisher"】を指定しない。
<meta property="og:type" content="article" />
を設定したページのみ【<meta property="article:publisher"】を設定する。
要は、
<meta property="og:type" content="article" />
と
<meta property="article:publisher" content=https://www.facebook.com/●●● />
は、個別のfacebookページを持っていない場合以外、ほぼセットのようなものだと思います。
リンク
デバッガー - Facebook開発者
https://developers.facebook.com/tools/debug

- Cherry MX 静音化リングを試す(茶・黒軸)
- リラックマバス3号車の展示会へ潜入
- 東京都立川市で8/28(日)に痛車イベント【たちフェス】開催
- アフィブログ死亡?Googleが検索結果から任意のサイトをブロックするサービスを開始
- Canon EOS Kiss X5を買ったら買っておくべきオプション