Facebook Open Graph Error - Inferred Property

前端 未结 6 2272
渐次进展
渐次进展 2020-12-05 01:54

I\'m trying to implement Facebook\'s OpenGRaph protocol on my product pages.

On each page i have this above the head section:



        
6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-05 02:48

    Are those tags on 'http://www.mywebaddress.com'?

    Bear in mind the linter will follow the og:url tag as this tag should point to the canonical URL of the piece of content - so if you have a page, e.g. 'http://mywebaddress.com/article1' with an og:url tag pointing to 'http://mywebaddress.com', Facebook will go there and read the tags there also.

    Failing that, the most common reason i've seen for seemingly correct tags not being detected by the linter is user-agent detection returning different content to Facebook's crawler than the content you're seeing when you manually check

提交回复
热议问题