Topic-icon anyone with opengraph knowledge help me

Active Subscriptions:

None
12 years 7 months ago #38516 by Vizionz
and by the way i ended up turning off every plugin in joomla that had anything to do with opengraph or meta tags and it still didnt solve it. i looked in the k2 settings and only thing i came up with is

components/com_k2/views/item/view.html.php
// Set Facebook meta data
		$document = JFactory::getDocument();
		$uri = JURI::getInstance();
		$document->setMetaData('og:url', $uri->toString());
		$document->setMetaData('og:title', (K2_JVERSION == '15') ? htmlspecialchars($document->getTitle(), ENT_QUOTES, 'UTF-8') : $document->getTitle());
		$document->setMetaData('og:type', 'article');
		$facebookImage = 'image'.$params->get('facebookImage', 'Small');
		if ($item->$facebookImage)
		{
			$parts = parse_url($item->$facebookImage);
			if (JFile::exists(JPATH_SITE.$parts['path']))
			{
				$image = substr(JURI::root(), 0, -1).str_replace(JURI::root(true), '', $item->$facebookImage);
				$document->setMetaData('og:image', $image);
				$document->setMetaData('image', $image);
			}
		}
The topic has been locked.
Support Specialist
12 years 7 months ago #38520 by alzander
Sorry for the delays. This last week has been hectic as we've been preparing for the upcoming v5.2 release (tomorrow), the Joomla World Conference (which we're presenting at), Joomla 3.2 preparation, and more.

Additionally, it's difficult to diagnose conflicts and problems with other extensions. We did just have time to get into your site some more to do some testing and have found the extension that is adding the unwanted tags that are corrupting your Open Graph data:
System - AutoFBook Plugin

I disabled that plugin and ran your pages through the Open Graph Debug tool and no issues were reported.

Can you please test other features that you mention are having problems and let us know how it goes? We can't find share or Like buttons on your site to test with, but if you enable them and they don't work, we'll gladly help investigate those issues however we can. If the issues result to be within JFBConnect, results will be much faster. Again though, I'd recommend narrowing issues down by disabling other social networking integration extensions that could be adding incorrect tags or doing incorrect behavior like the plugin above was doing.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #38523 by Vizionz
you dont have to be sorry buddy your helping tons of people. there should be others on your team though. only one man can do so much but thanks i disabled them because they were not working. i will retest with the auto facebook plugin off now. and let you know
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #38524 by Vizionz
that was it right there first post i checked correct info. :) does open graph settings allow me to somehow post topics to my facebook fanpage ? when i would submit a new k2 news post ? or when your done with your conferance take a look at that plugin and see away around that.
The topic has been locked.
Support Specialist
12 years 7 months ago #38526 by alzander
JFBConnect doesn't currently support auto-posting of content to a Fan page. That's coming.. possibly in the v5.3 release around the end of the year.. if not, in the release right after that.

Before I disabled the Autopost plugin on your site, I did check the settings. There was a "Add Open Graph Tags" setting, or something like that, in there. Try disabling that and run it through the Open Graph Debugger to see if it passes. If so, you should be able to use a combo of JFBConnect and that plugin.. for now :)

I hope that helps, but if not, let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 7 months ago #38567 by Vizionz
yeah that worked i just disabled that and i can run it and that will do the auto posting. and all the like buttons and shair work :) thanks for helping me narrow that down, but i posted a new topic about that this topic has been solved!
The topic has been locked.