开发者

Facebook Debugger can't fetch open graph metadata

开发者 https://www.devze.com 2023-04-11 18:05 出处:网络
I have a simple web page with includes a javascript redirect and has a few opengraph metadata. The page parses correctly on OpenGraph.in ( http://bit.ly/pMehOj ) and even validat开发者_StackOverflowe

I have a simple web page with includes a javascript redirect and has a few opengraph metadata.

The page parses correctly on OpenGraph.in ( http://bit.ly/pMehOj ) and even validat开发者_StackOverflowes correctly on the w3c validator

But it miserably fails to parse with the Facebook Debugger ( http://bit.ly/nyGWlM )..

What could be wrong?


You must have link to the open graph protocol

Add xmlns:og="http://ogp.me/ns#" in your html declaration as below :

html lang="en" xmlns:og="http://ogp.me/ns#"

0

精彩评论

暂无评论...
验证码 换一张
取 消