Facebook Plugin: Open Graph meta tags for index vs entries
Posted: Wed Oct 12, 2016 2:40 am
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?
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?