Forum is closed

Change Like Image associated to website when user likes a site

Change Like Image associated to website when user likes a site

Hi!

My client has a site for books, but when she liked her site and went to her personal FB page, the image is of a banner add on the right side of the website came up as associated to the site, not the actual header image which is really what we want.

I did find something about using this in the HEAD tag { http://bobbelderbos.com/2011/03/faceboo … ght-image/ }:


Problem is there are already likes to the site, and 3 comments under it.
Do we just delete the current like on her personal FB page (that shows the wrong image anyway), and have her "re-like" her own site to pull in the correct image?

fb_100000409638988
Chip
useravatar
Offline
27 Posts
Active Subscriptions:

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

Re: Change Like Image associated to website when user likes a site

You don't need to do anything in the head section yourself. JFBConnect has many options to either automatically set the image, or let you set it without mucking with your template.

To set the Like image for a specific page, you have a few options:
* Install an Open Graph plugin for the component that's rendering the page. So, if it's a Joomla Content page, install and enable the Open Graph - Content plugin. That will automatically set the first image in any article text as the Open Graph image for that page. There are also ways to have more control over the title, description, or image used by configure your Open Graph settings
* On the specific page that is being liked, add {SCOpenGraph image=http://site.com/image.jpg}, pointing to the image you want to use, and JFBConnect will force that to be the Open Graph image tag
* In the Open Graph -> Settings area, you can set a default image that will be used across your whole site. That's good for a logo or something that will be used if no other image is set (preventing a banner ad or something else from being selected by Facebook).

Once you set a better image, you can use Facebook's URL Debug Tool to refresh their cache of the details about that page:
https://developers.facebook.com/tools/debug
Once refreshed, the Like your client made should update with the new image in a few minutes to an hour or so. If not, then yeah, just un-like and re-like.

Hope that all makes sense, but if not, let us know,
Alex

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

alzander
Alex
useravatar
Offline
23893 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:
11542
Total Polls:
0
Total Posts:
48565
Posts today:
8
User Info
 
Total Users:
47554
Newest User:
luifeh
Members Online:
0
Guests Online:
636

Online: 
There are no members online
Social Stream
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