Share Button on Facebook

  • Posts: 13
  • Thank you received: 0
10 years 4 months ago #201499

-- 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.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 4 months ago #201507

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.

  • Posts: 13
  • Thank you received: 0
10 years 4 months ago #201602

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

  • Posts: 13201
  • Thank you received: 2322
10 years 4 months ago #201617

Hi,

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

File Attachment:

File Name: plg_system...cial.zip
File Size:7 KB

Attachments:
Last edit: 10 years 4 months ago by Xavier.

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

  • Posts: 13
  • Thank you received: 0
10 years 3 months ago #201818

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.

  • Posts: 13
  • Thank you received: 0
10 years 3 months ago #201819

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

Attachments:

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 3 months ago #201834

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.074 seconds
Powered by Kunena Forum