OG Image & Description tag troubles

OG Image & Description tag troubles

Having confusion on og image tags and descriptions. 

Set a global image tag. That works.  Started applying individual tags on articles.  They show in debugger.  Problem is I'm having a third image read by FB and it is placed in the first position priority defeating the purpose of the individual article image tag.  This third image happens to be the first image within the article.

Also debugger pulls the first words of article over the meta description.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Unpublished Open Graph plugins and that corrected it.  Too bad, was looking forward to using them.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Lisa,
You shouldn't need to unpublish the Open Graph plugin. The plugins *should* respect any {SCOpenGraph image=xyz} tags and place them as the first priority tag over any others that are set. It should be: tags, automatic images, defaults.

If that's not the case, we'd need to know what plugin it was that you disabled that 'fixed' the issue. If it was the content plugin, you also can create an 'object' for the categories or your site that you want to apply special settings from. One of those settings is choosing whether to use the meta description or the actual article text for the Open Graph description. By default (when no object has been created), the content plugin will use the first 10 words of the article as the description.

Hope that helps explain what should happen. Let us know more about what is happening and posting a URL where we can see the actual HTML and the og:image tags would help a lot too.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Have the ''send'' and ''like'' buttons pulling up correct og images now.  One wrinkle left~ when I manually copy/paste a link to FB it will only call up the globally declared image.  Any thoughts?
Thanks,
Lisa

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Me too on my ''fix'', don't like it.  Was very excited to use those features.  Disabled the ''content'' and ''custom object'' plugins.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

I'll turn the plugins back on.  Try to recreate the issue and post a link.  Thanks Alex.  current/smile

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

link:  http://www.diggersdelight.com/index.php … rden-gifts

with content plug in turned on the problem occurs.

http://www.sourcecoast.com/components/com_agora/img/members/14842/Screen-Shot-2013-03-09-at-1.png

turned off it's correct.
http://www.sourcecoast.com/components/com_agora/img/members/14842/09032013-1316_Screen-Shot-2013-03-09-at-1.png

Manual copy/paste share method has problems regardless.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

alzander wrote:


you also can create an 'object' for the categories or your site that you want to apply special settings from. One of those settings is choosing whether to use the meta description or the actual article text for the Open Graph description.

I've got it set to "Meta" under Description Type within Object Settings.  Below I left "20" in the Description Length because I thought if I had it set to "Meta" it would ignore that value.  Should I delete "20" out of Description Length?

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

I've worked on this all afternoon and am stuck and frustrated.  The only way to keep that ''first image'' in the article from claiming priority is to turn off content plug in and at that point it renders the cool open graphic feature useless.  If I  have something configured incorrectly I'm at a loss to find it.  I'm guessing my object/actions are messed up, but really don't know at this point.  I have had success posting to the timeline, just a bust with the og image.   I did get the meta descriptions to present correctly. 

These article all have tags, but do not work either when manually copy/pasting the link to FB or when the og content plugin is triggered.
http://www.diggersdelight.com/index.php … rden-gifts
http://www.diggersdelight.com/index.php … nal/winter
http://www.diggersdelight.com/index.php … rden-gifts

Hope you can help.  Sorry if I'm taking too much of your time.  Just really confused at this point.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Lisa,
First off, you can't take too much of our time. We're here to help our users, and support is something we take very seriously. So, feel free to ask anything and be persistent. There may be times when it takes hours to get a response, but that's just our schedule.

For the description setting selection of "Meta Data", the character/word count setting shouldn't matter. When set to meta the full meta description should be set as your og:description tag. On your example articles, I am seeing that behavior. If you're not, let us know.

Finally, for the og:image, we've been doing a bit of testing today. There is definitely a bug in the ordering of insertion when you have all of {SCOpenGraph }, automatic, and default tags. Fixing them all will take some effort, and we'll be investigating the best way to do so. If you're ok with not using a default tag for now, then there's a code change which should fix things right up for you. If interested, edit the /libraries/sourcecoast/openGraph.php file. Around line 211, you'll see:

Code:

    function addValue($value, $isFinal)

    {
        $this->value[] = $this->getCleanValue($value);
        $this->isFinal = $isFinal;
    }

Change that to:

Code:

    function addValue($value, $isFinal)

    {
        if (is_array($this->value))
            array_unshift($this->value, $this->getCleanValue($value));
        else
            $this->value[] = $this->getCleanValue($value);
        $this->isFinal = $isFinal;
    }

Test that out and let us know how it goes. Again, we will look into a way to make sure the ordering is right for all 3, but I won't have an answer immediately.

Thanks for your patience,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

WOO HOOO!  Worked.  Very cool.  Now one last question and I'll be done bugging you.  Is there a way now to declare the home page og image?  Saw on another thread the module suggestion for J2.5, but looked like that didn't work.  Any suggestions greatly appreciated.  You made my day Alex.  Thank you.

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Scratch that.  {JFBCGraph image=http://site.com/image.jpg} inserted into an HTML module works beautifully!  YaHOOoo!  Thanks for your help Alex.  This is just so cool.  current/smile

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Lisa,
Glad to hear that got you past the current issue. Again, we will be looking into a better fix that doesn't force you to remove the default tags as well.

For the home page, your solution is the best (using a module). Having an option for the home page may be nice, but there are so many 'unique' pages a user may want to control that the hidden module option is the best suggestion.

One note though, the {JFBCGraph } tag has been deprecated and will likely be removed in the future. You should use {SCOpenGraph ...} instead. That's compatible with all our extensions. If you saw that {JFBCGraph ..} reference in documentation or anywhere else we should change it, please let us know!

If you need anything else, don't hesitate to get in touch. I'm glad you're enjoying JFBConnect and taking advantage of some of the cooler features we have.

And, finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
http://extensions.joomla.org/extensions … ation/7215

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Wondered about that.  Thanks for catching that for me.   Here's the link where I found the old tag code:  http://www.sourcecoast.com/forums/jfbco … r-homepage

Thanks again.  You've got the customer service end of things down.  Outstanding!  I'll be sure to comment on the extensions directory.  current/smile

lishig
Lisa
useravatar
Offline
39 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: OG Image & Description tag troubles

Thanks for pointing that thread out. We'll be running some updates to the site over the next month to overhaul a lot of things. At that time, we're planning to do a search/replace of old posts with some updates like that. Mainly, just glad it wasn't a documentation error or something in the extension itself suggesting that current/wink

Anyways, should you need anything else, just let us know and good luck,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23835 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11508
Total Polls:
0
Total Posts:
48441
Posts today:
12
User Info
 
Total Users:
47480
Newest User:
scottrobins
Members Online:
1
Guests Online:
1133

Online: 
alzander
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program