MyBB Community Forums

Full Version: Open Graph, where to put meta data?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I searched how to change information of the website that I post on facebook for example, it always comes up some image on my site, in this case the header.
I wanna add a custom image and description instead, so when somebody writes my link on Facebook, it will come up this image and link instead of the header and empty description.

So I found out about Open Graph, and I tried put in those meta data in the header.

But according to Facebooks debug, I don't have it in the header?
https://developers.facebook.com/tools/de...henesys.tk

Your page has meta tags in the body instead of the head. This may be because your HTML was malformed and they fell lower in the parse tree.
Please fix this in order for the tags to be usable.


I put the meta data into the templates header. And this just wont work, so how to do?
you can put the code at the bottom of headerinclude template (in ungrouped Templates) or in footer template