As of Jan 14, 2021, Facebook's Sharing Debugger at developers.facebook.com/tools/debug emits a warning: Unsupported Image File Extension — Provided og:image URL, https://example.com/og_image.svg does not have a supported extension.
Does not support SVG images. The Open Graph Object Debugger will say it is not an image.
Go to the editor for a post or page, then scroll down. You should see a Yoast SEO box. Hit the “Social” tab, then “Facebook.” Fill this in to set the og:title , og:description , and og:image tags.
og:image:alt - A description of what is in the image (not a caption).
OpenGraph does not support .svg as images
http://indiewebcamp.com/The-Open-Graph-protocol#Does_not_support_SVG_images
As of May 2014, Facebook does not formally define what images they support (you can read their best practices here), though the implication by the optimal sizes (1200 x 630 pixels for high resolution devices and 600 x 315 pixels for standard resolution devices) is that the image must be a raster format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With