我将 og 元标记添加到我的站点中,当我打开检查器时可以看到它们,但是当我转到 facebook 调试器时,它告诉我我缺少刚刚添加的所有标记。
该代码使用 MetaTags 包。
<MetaTags>
<title>Find Their Gifts</title>
<meta name="description" content="The personality quiz that suggests gifts based on the results" />
<meta name="keywords" content="find their gifts, gift quiz, gift personality quiz, gift finder" />
<meta property="fb:app_id" content="349573132258777" />
<meta property="og:title" content="Find Their Gifts: The Personality Quiz Gift Finder" />
<meta property="og:image" content="https://www.findtheirgifts.com/metaimage.png" />
<meta property="og:image_secure" content="https://www.findtheirgifts.com/metaimage.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.findtheirgifts.com/" />
<meta property="og:description" content="The personality quiz that suggests gifts based on the results. Find gifts that they really want." />
</MetaTags>
如果您在 findtheirgifts.com 打开检查器,您可以看到标签正确显示
但 facebook 调试器告诉我“缺少以下必需属性:og:url、og:type、og:title、og:image、og:description、fb:app_id”
我错过了什么吗?我感谢任何朝着正确方向的推动