get wrong ogtype in object debugger

前端 未结 1 1646
死守一世寂寞
死守一世寂寞 2021-01-14 10:07

my tested page is here. http://smartphone.mn/news/2110 . I\'m using facebook object debugger, Debugger return og:type = website and 4 Inferred pro

相关标签:
1条回答
  • 2021-01-14 10:50

    You using OpenGraph meta-tags in a wrong manner. This is a code you have in page:

    <meta name="fb:app_id" content="..." />
    <meta name="og:type" content="article" />
    ...
    

    But the fact is you MUST use property named property instead of name to specify the name of the OpenGraph data...

    So to solve this you just need to replace name to property for OpenGraph meta-tags:

    <meta property="fb:app_id" content="..." />
    <meta property="og:type" content="article" />
    ...
    
    0 讨论(0)
提交回复
热议问题