Open Malvoz opened 4 years ago
@Malvoz yes please, update the list of requirements. Looks like there should be different errors levels depending on what's missing/wrong (error, warning, info, hint). If you have already an idea of what should be each thing please share it.
Thanks!
Sorry for the delay, for a proper overview of what is required/recommended for developers based on the support across platforms, I created an OGP support & requirements document. But things like formats and correct structure of metadata is explained in https://ogp.me.
I think https://github.com/webhintio/webhint.io/issues/516 warrants a hint for OGP implementations. 😂
The hint would presumably look for:
<meta>
elements starting withproperty="og:{...}"
prefix="og: http://ogp.me/ns#"
(I think recommendation for the prefix is to be specified in the<html>
or<head>
elements.)If at least one of the above exist but doesn't fulfill the minimum requirements (e.g. must include an
og:title
, anog:image
of at least200x200
px with an absolute URL, valid image file formats, not serving larger images than the maximum allowed size etc.) then the check fail.I can update the list of requirements for the respective social platforms (as described in https://github.com/webhintio/webhint.io/issues/516#issue-360078914) if you think this should be a hint.