How To Add Open Graph Meta Tags To Blogger

In April, I coded a simple WordPress plugin which allows you to add Open Graph meta tags to your WordPress site. I thought I should also share a way to add Open Graph meta tags to Blogger blogs. Of course, we can’t install a plugin to Blogger but there are other ways too.

Open Graph enables developers to integrate their pages into the social graph. Here’s a simple way to add proper Open Graph meta tags to Blogger blogs.

Navigate to Blogger > Template > Edit HTML

Once you’ve opened up your template, find the </head> tag in your template’s markup. Just paste following tags right above </head> tag:

In above code, replace Logo URL in the 13th line with the URL of your blog’s logo. Also don’t forget to provide your application ID and profile ID in the 18th and 19th lines.

You can also remove the last two lines from the code if you don’t want to provide required information.