I’m having problems with the FB like Button. I’ve one button in my headers with href to my site root, in every page, so the metatags (og:image, og:title: og:type, etc..) are optimized to index.php or root page..
Now, in the post or news pages, I have articles with their own button, and the meta tags they must change..
is there any possibility to set this buttons config in each button? I’m trying to not use iframes! I think with an iframe with the button to my root page, maybe works, but is not the best practice!
Thanks!
No you can’t. Because as you know Facebook uses Open Graph meta tags and pages have unique meta tags.
The only thing you can do is create a page for your global website (for example, create a FB fan page of mysite.com) and use the Page Plugin :
By the way, it would be strange to “like a website” as you want to do. Now Facebook behaviour is to “share an article” and “like a page (of a website or whatever)”.
And for your posts the standard Like Plugin :