Like button un custom html module

Like button un custom html module

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.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Like button un custom html module

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24145 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Like button un custom html module

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 : http://www.coulisses-tv.fr/index.php?op … Itemid=465

My syntaxe is :
{SCOpenGraph image=http://www.coulisses-tv.fr/images/dossiers/m6/pekin-express/2013/salim-linda.jpg}{JFBCLike}

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Like button un custom html module

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24145 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Like button un custom html module

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:
https://developers.facebook.com/tools/d … emid%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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24145 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11686
Total Polls:
0
Total Posts:
49058
Posts today:
2
User Info
 
Total Users:
47827
Newest User:
tonytab
Members Online:
4
Guests Online:
876

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program