Should my web page include both og:image:url
and og:image
or just og:image
?
Also, do I need to include og:image:width
and og:image:height
?
According to ogp.me, og:image
is identical to og:image:url
. In my experience og:image
has been sufficient.
As for og:image:width
and og:image:height
, ahrefs claims they ensure your snippet appears correctly and Facebook says they allow its crawler to render the image asynchronously. In general, I would suggest reading the docs for any bots/crawlers/APIs you anticipate exposing links to so you may adhere to their rules.