Skip to main content

Share Button on Facebook

More
11 years 4 months ago #201499 by Hoar
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 6.0.0
-- Browser(s) name and version -- : Internet Explorer 11

Hi,

In the Social Network Plugin the Share Button for FaceBook on some products it show the wrong image in the Preview and some Product have the Correct image.

Thank you

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #201507 by nicolas
Replied by nicolas on topic Share Button on Facebook
Hi,

Could you give a link to a product page with a share button giving a wrong image so that we could analyze the issue ?

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #201602 by Hoar

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago - 11 years 4 months ago #201617 by Xavier
Replied by Xavier on topic Share Button on Facebook
Hi,

Please try to install this version of the plugin, some fixes have been done recently for this kind of issues:

This attachment is hidden for guests.
Please log in or register to see it.
Last edit: 11 years 4 months ago by Xavier.

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #201818 by Hoar
Replied by Hoar on topic Share Button on Facebook
Hi,

i wanted to change the description to meta description and i tried this code but nothing happens.

$this->meta = '<meta property="og:description" content="'.htmlspecialchars(strip_tags($element->description), ENT_COMPAT,'UTF-8').'"/> ';
And then in the function "_getElementInfo()" replace:
$ret->description = $element->product_description;
By:
$ret->description = $element->product_meta_description;

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #201819 by Hoar
Replied by Hoar on topic Share Button on Facebook
hi,

I did the installation and it now works but I have a problem with the image, it doesn't fit see attachement.

thank you

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #201834 by nicolas
Replied by nicolas on topic Share Button on Facebook
Hi,

It depends on the ratio of the image you upload to your products.
developers.facebook.com/docs/sharing/best-practices#images

Please Log in or Create an account to join the conversation.

Time to create page: 0.240 seconds
Powered by Kunena Forum