The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
sharing post on facebook - image/thumbnail?
Maybe it's an obvious answer, but whenever i share a thread on facebook from my forum, Facebook captures a thumbnail that appears to be magnified upclose to the point that it's ilegible. How can i manipulate as to what kind of thumbnail appears in the post?
I attached an image off google to give you guys an example of what thumbnail i'm talking about. I am running 3.8 Thanks guys. |
#2
|
||||
|
||||
If you have more then one image on the thread you are sharing then you can select which image is shown on FB... other then that there is nothing you can do about it.
|
#3
|
|||
|
|||
That's unfortunate. Ok, thanks for the info.
|
#4
|
||||
|
||||
You actually do have a measure of control over which images are selected by Facebook. But you have to have certain parameters in place. For example, you need to have the necessary meta tags in your head code, like described here: http://stackoverflow.com/questions/1...-select-images. And I went ahead and used replacement variables to insert the namespaces, so as to pass validation.
I'm also on vB3, and this I what I put in my headinclude, in addition to adding the proper namespaces. HTML Code:
<!-- Facebook Meta Tags --> <meta property="og:title" content="<if condition="$show['threadinfo']"><if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase> :: </if>$threadinfo[prefix_plain_html] $threadinfo[title]<else /><if condition="$show['foruminfo']"><if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase> :: </if>$foruminfo[title_clean]<else />$vboptions[hometitle]</if></if>" /> <meta property="og:site_name" content="$vboptions[bbtitle]" /> <meta property="og:url" content="$vboptions[homeurl]$_SERVER[SCRIPT_NAME]?$_SERVER[QUERY_STRING]" /> <meta property="og:description" content="<if condition="$show['threadinfo']">$threadinfo[preview]<else /><if condition="$show['foruminfo']">$foruminfo[description_clean]<else />$vboptions[description]</if></if>" /> <if condition="$show['threadinfo'] !=1"><if condition="$show['foruminfo'] !=1"><meta property="og:image" content="$vboptions[bburl]/images/fb-default.png" /></if></if> <meta property="fb:app_id" content="YOUR-APP-ID-HERE" /> <!-- / Facebook Meta Tags --> --------------- Added [DATE]1421809672[/DATE] at [TIME]1421809672[/TIME] --------------- Also note, you really only need to do this in one style. The default style guests see when they visit your website. This is the first style the Facebook crawler and the debugger will see, and will likely be the only one it checks. |
Благодарность от: | ||
Max Taxable |
#5
|
|||
|
|||
Thanks so much Digital Jedi. It looks like i have some work ahead of me. I'll give it a shot.
|
Благодарность от: | ||
Digital Jedi |
#6
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|