Topic-icon Like button un custom html module

Active Subscriptions:

None
11 years 1 week ago #32589 by jeaver
Hello,

I want to use {JFBCLike} in a custom html module.

Is it possible to parameter the address of an picture to make it appear as thumbnails on Facebook ?

Sorry for my English... I'm French ^^

Thanks.
The topic has been locked.
Support Specialist
11 years 1 week ago #32614 by alzander
If you want to set the image to use in Feed posts on Facebook, you need to set an Open Graph tag on the page. If the page you are Like'ing is a Joomla content article, you can install and enable the Open Graph - Content plugin. That will try to select the first image in your article and use that as the image.

Alternatively, you can add the following tag into your page to set the Open Graph image:
{SCOpenGraph image=http://yoursite.com/link-to-image.jpg}

That will set the image for Facebook to use when a post is created.

I hope that helps, but if you need more information, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 days ago #32713 by jeaver
This is a custom html module I want to put the button "like". I wish to associate an image to publish on facebook.

I tried your code, but it still appears instead of the image a gray rectangle.

Look here : www.coulisses-tv.fr/index.php?option=com...w=default&Itemid=465

My syntaxe is :
{SCOpenGraph image=http://www.coulisses-tv.fr/images/dossiers/m6/pekin-express/2013/salim-linda.jpg}{JFBCLike}
The topic has been locked.
Support Specialist
11 years 3 days ago #32722 by alzander
Your syntax is right. After you change the image, it can take Facebook a few days to 'see' the change. I just looked at your page, and the og:image tag is being properly set in the HTML.

You can try later today to use the Facebook Open Graph Debug Tool . It can be used to scan your page and try to update their cache. If it doesn't show the right results in 24 hours or so, let us know and we'll gladly help try to look into things further.

Thanks,
Alex
The topic has been locked.
Support Specialist
11 years 3 days ago #32723 by alzander
Actually, in the Facebook Debug Tool page, there's a link at the bottom for "See what Facebook sees". For your page, that's bringing up an almost empty document:
developers.facebook.com/tools/debug/og/e...fault%26Itemid%3D465

I'm not sure why that is. Do you know if you have a template switcher, security extension, or something else that may be changing the content for search bots or other automated tools? If so, that will need to be disabled so Facebook can properly scan your pages.

Thanks,
Alex
The topic has been locked.