× Joomla Facebook Connect support forum

Topic-icon Problem with displaying fb like/comment box in virtuemart products

Support Specialist
Gabriel,
Will do some testing about the Virtuemart attribute page which seems to reload on the current page in the next day or so, just so you know.

Glad you figured out the Open Graph stuff.. yes, it can take a day or so for new tags to be recognized by Facebook. You can always use the Facebook URL debug tool to 'see' what Facebook sees. This also (usually) updates Facebook's cache immediately, so you don't have to wait a few days:
developers.facebook.com/tools/debug

Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thank you for your reply, unfortunately with developers.facebook.com/tools/debug tool I get this error message:

Object at URL 'www.ozlingerie.com.au/index.php?page=sho...virtuemart&Itemid=56' of type 'website' is invalid because the given value '' for property 'og:image:url' could not be parsed as type 'url'.

Is totally random what image is displayed on facebook, sometimes is the right image, sometimes is the additional child image, but sometimes (and most annoying), the pdf
File Attachment:
or the printer
File Attachment:
icon is displayed on fb page. Totally wrong... :(

File Attachment:

Cheers,
Gabriel
The topic has been locked.
Support Specialist
Gabriel,
There was an error in our documentation that was just pointed out to us in another post. For the image that you need to insert, we were missing a ? in the <?php statement. Please update the code you're inserting the code below (with the extra ? in the first few characters):
{JFBCGraph image=<?php echo IMAGEURL.'product/'.$productArray['product_thumb_image']; >}
Sorry I missed that before, and hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex, problem solved, you helped me to to figure out the problem, the correct code is:

File Attachment:


I can't type the code here, the browser interprets the php command and display only this:
{JFBCGraph image=}

Your code is still missing a question mark at the end...Please update the documentation on the site. Thanks!

Cheers,
Gabriel
The topic has been locked.
Support Specialist
Gabriel,
Sorry for the troubles. Not sure where my mind is. The code on the JFBConnect / Virtuemart page is updated with the ? at the end now too. Thanks for pointing that out! Very glad you got it all going now, and hopefully it's smooth sailing from here.

Finally, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect, or our support. It's certainly not required, but very appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi,

Any news regarding {JFBCLike} tag not being translated when a child product is selected? Please let me know as soon as possible a solution is found, in the meantime I took it out from my flypage, it looks very unprofessional for the end users to see coding in their product pages.

Thanks.
The topic has been locked.
Support Specialist
Gabriel,
We investigated this a bit, but unfortunately, don't have a solution. Virtuemart is loading child products using an AJAX call which is bypassing parts of Joomla's core functionality, mainly our JFBCSystem plugin. Because of this, our plugin is unable to translate that tag. We're looking into possible workarounds, but don't have anything yet. This is the first time we've heard of this issue, so it may take a little bit of time. It's also something that may need to be brought up with the Virtuemart developers.. specifically, how to enable the system plugins on a child product page.

We'll let you know what we find, but until then, we agree that removing the tag is the best option.

Alex
The topic has been locked.