0

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?

Rodrigo
  • 135
  • 4
  • 45
  • 107

1 Answers1

1

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.

njcolvin
  • 68
  • 1
  • 6