![]() |
Is it possible to overwrite vbulletin's default opengraph?
|
This still works well, I've just incorporated it on my forum. It does not pull images from the thread, but it will use a default image. Facebook says the image should be 1200x630 but it was getting cut off so 1170x630 seems to work better for me...
I'm using this in conjuction with this mod: Easiest way to add Social Bookmarks on Thread You can read the Open Graphics Protocol documentation You can also go to https://www.facebook.com/insights and get insights for your domain and connect those insights to your facebook page along with connecting to a facebook app. You can incorporate this into this plugin, editting the .xml file before importing and find: Code:
$og_array = array( Code:
$og_array = array( Then test your markup here: https://developers.facebook.com/tools/debug/sharing/ Maybe someone knows how to parse the thread text and pull the first hotlinked image or embedded youtube video? This is what my final product looks like: https://vborg.vbsupport.ru/external/2016/05/18.png And here's a nice bonus: Google+ picks up the OG meta tags as well w00t |
Perfect mod!
I combined with https://vborg.vbsupport.ru/showthread.php?t=300221 to get the thread's image. |
All times are GMT. The time now is 02:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|