Adding Open Graph metadata to Blogger is easy.
Simply copy the code below and paste it into your template after the <header> tag.
A couple notes:
og:localeShould probably actually reflect the blog's locale instead of just being a hardcoded string. Unfortunately, Blogger only gives usen-uswith a hyphen, instead of an underscore, so that won't work.- If you're using your blog as a personal profile, you may consider changing the second
og:typefromwebsitetoprofileand adding your personal information og:imageIs only supplied if Blogger finds an image in the current post. However, not supplyingog:imageis invalid. You could provide an alternate image of your blog logo, or a Gravatar.- If you do something cool with this, I'd love to hear about it. [email protected]