I have image that is being generated in runtime on my website and I display it in html using
Open Graph needs an URL.
You could try saving your base64 as a temp image.
pase it to a php file that echo it out:
<meta property='og:image' content='decoder.php?data=<!-- base64 data -->'/>
decoder.php:
<?php
echo base64_decode($_GET['data']);
?>
EDIT make sure you check source for security reason.