Topic-icon Opengraph virtuemart 2.5

Active Subscriptions:

None
12 years 2 months ago #42753 by ct197475
Hi Alex,

I tried the documentation link for displaying the photo when a FB like is triggerd but the message is blank.
{SCOpenGraph image=<?php echo IMAGEURL.'product/'.$productArray; ?>}

So I tried this
{SCOpenGraph image=https://www.men-esthetics.com/product->images[0]->file_url;?>}

but still the picture isn't showing.
www.men-esthetics.com/Colonia-assoluta-a...-parma-100-ml-detail

What is wrong ?

Thanks

Chris
The topic has been locked.
Support Specialist
12 years 2 months ago #42764 by alzander
Replied by alzander on topic Opengraph virtuemart 2.5
We just helped another user with a VM image question in this post . Their question was for the Pinterest tag, but the answer should be relevant for you. Can you try:
{SCOpenGraph image=https://www.men-esthetics.com/<?php echo $this->product->images[0]->file_url;?>}
Also, whenever you update Open Graph tags, please make sure you run your page through the Open Graph Debug Tool to verify the updated tags.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42881 by ct197475
Replied by ct197475 on topic Opengraph virtuemart 2.5
Hi Alex,

In fact that was me the other client ; I just opened another topic not to mess your support up.

The problem is that the trick did not work for open graph.

Any clue ?

Best,

Christophe

PS : my review has been rejected because I am listed as spamer apparently !!!! but neither am I nor am I listed at www.spamhaus.org ...
Your review for "JFBConnect" has been rejected because your IP address was listed in the anti-spam database during the time of submission.

If your IP address is listed on one of our IP blocklists; SBL, XBL or PBL, this lookup tool will tell you which one and will give you a link to information on what to do.

To check and remove your IP from the Spamhaus database please use the www.spamhaus.org/lookup/ lookup and removal service.

NOTE: Fraudulent voting is a violation of our Terms of Service: extensions.joomla.org/tos#reviews

Please feel free to place a new review for "JFBConnect":
extensions.joomla.org/extensions/7215

Your review was:
=======
Exceptionnal Product and Support
Alex is just the guy you wish you could rely on, each time you enter the "paid extension zone".

Not only the product runs efficiently, smootly and quite intuitively, but his support is just what you dream of : diligent, precise, caring.

This guy is a great professional and truly helps the open-source community.

Bravo
=======
The topic has been locked.
Support Specialist
12 years 2 months ago #42896 by alzander
Replied by alzander on topic Opengraph virtuemart 2.5
Hehe.. didn't even realize it was you that created the other post :) We do appreciate you helping to keep things tidy around here.

As for your image not loading, the following og:image tag is being inserted on the page above:
<meta property="og:image" content="https://www.men-esthetics.com/images/stories/virtuemart/product/acqua-di-parma-colonia-assoluta-eau-de-cologne.jpg"/>
So, that's correct. However, loading your page seems very spotty. Not sure if it's just a temporary issue, but it took about 1 minute to load the page the first time. When I tried to laod that image, it initially wouldn't load (got an error). On refresh, it loaded right away. I then tried to test your page with the Facebook Open Graph debug tool and it had the following error:

Error parsing input URL, no data was scraped.
Warning
Curl Error : OPERATION_TIMEOUTED Operation timed out after 10004 milliseconds with 0 out of -1 bytes received

Bottom line: It seems like the tag is being set right, and your HTML looks fine.. but Facebook simply isn't able to access your page to scan/see the tags you've added.

I hope that helps explain and you can narrow down the issue from there.

As for the review, not sure why it would have been blocked. There is a lot of voter fraud that tries to take place on the JED and so they have many automated systems to weed out 'bad' reviews. It's unfortunate you got caught in that net, but we do appreciate you trying.

Best of luck,
Alex
The topic has been locked.