Page 1 of 1

Facebook Plugin: Open Graph meta tags for index vs entries

Posted: Wed Oct 12, 2016 2:40 am
by Christine
I'm using a mix of the Facebook Plugin and Twitter card meta tags to generate preview cards for Facebook and Twitter, and it's working well for sharing my entries.

I also tried adding Open Graph meta tags to my index.tpl, as I wanted a description, title and image specific to sharing the main blog page, as Facebook was just picking a random image when I shared my blog on there. However, these meta tags are prioritised over the ones the Facebook plugin generates, and so if I share any blog entries, I instead see the index page details.

Is there any way to have both - distinct meta tags for the index page, and separate ones for each entry?

Re: Facebook Plugin: Open Graph meta tags for index vs entri

Posted: Wed Oct 12, 2016 10:13 am
by yellowled
Christine wrote:Is there any way to have both - distinct meta tags for the index page, and separate ones for each entry?
You'll want to take a look at the plugin Share Buttons (serendipity_event_social).

It is fairly new and there's still room for improvement (feedback always welcome). While its primary goal is to provide modern sharing buttons, it also takes care of the meta elements for Open Graph and Twitter Cards, but only on single entries, including OpenGraph images.

It might be a good idea to test that and then get back to us with feedback as to how you think this could be improved?

YL

Re: Facebook Plugin: Open Graph meta tags for index vs entri

Posted: Thu Oct 13, 2016 12:27 am
by Christine
Thanks, I'll check it out :) .

Re: Facebook Plugin: Open Graph meta tags for index vs entri

Posted: Tue Feb 21, 2017 12:35 pm
by lazza
Helpful stuff, thanks guys. I'm just beginning to go about my open graph meta tags.