Status
Not open for further replies.

horseguards

Customer
the og:title tag is always empty

these are the og meta tags for a given thread:
____________________________________________________________________________
<meta property="og:image" content="http://img600.imageshack.us/img600/4703/4kzb.jpg" /><meta property="fb:app_id" content="102191106483695" />
<meta property="og:site_name" content="TodoGatos.com" />
<meta property="og:description" content="Fecha Nac: 10/03/2009- Sexo: Macho Pelo: Corto Capa: Naranja atigrado Especie: Felina Una familia recogió a Fraile en la calle después de alimentarle d" />
<meta property="og:title" content="" />
<meta property="og:url" content="http://todogatos.com/gato-en-adopcion-busco-adoptar-un-gato/25228-fraile-con-inmuno-deseoso-de-una-familia-proa-madrid.html" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://www.todogatos.com/images/og/gatos.jpg" />
_____________________________________________________________________________

And this is the way it shows in facebook.
https://www.diigo.com/item/image/4mzth/613c

In functions_facebook.php, og:title looks like this:

'og:title' => $thread['title'],

Could anyone please give me a hand?

Thanks in advance!
 
It very weird
https://www.diigo.com/item/image/4mzth/34s1

It takes very long to load the iFrame. When clicked, it showed up in different ways.
One with title but wrong image, all others with the correct image but no title.

I have in in threads and inside the posts. I reckon I will only keep at the top of the thread.
Anyway, I am trying with different variables to try to find the right one to show the title.

any ideas to solve this?

thanx
 
So to be clear, the og:title is not empty in other locations like blogs, CMS, forums, etc?
 
I just checked this site and there's no og:title tag at all. Would you be able to tell me what setting to activate in the AdminCP in order to enable this tag?
 
I downloaded a fresh copy of vBulletin 4.2.2 and compared the functions_facebook.php to your file. I found that og:title is not supposed to be included in that file, so I have removed it and re-uploaded it to your server.
 
This is the relevant section of the functions_facebook.php from the latest version of vBulletin:
PHP:
function get_fbopengrapharray()
{
	global $vbulletin, $show;

	// prepare open graph default data
	$show['fb_opengraph'] = true;
	$og_array = array(
		'fb:app_id'		=>	$vbulletin->options['facebookappid'],
		'og:site_name'	=>	$vbulletin->options['bbtitle'],
		'og:description'=>	$vbulletin->options['description'],
		'og:url'		=>	$vbulletin->options['bburl'],
		'og:type'		=>	'website'
	);

	// use the feed image if there is one
	if (!empty($vbulletin->options['facebookfeedimageurl']))
	{
		$og_array['og:image'] = $vbulletin->options['facebookfeedimageurl'];
	}

There is no og:title reference anywhere in that file. I'm very much confused as to why you are seeing it there when I cannot.
 
I also spoke to someone who works at IB and they are also unable to find og:title anywhere in the vB product.
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,172
Customer rating
5.00 star(s) 1 ratings
Back
Top