× Joomla Facebook Connect support forum

Topic-icon Like

Active Subscriptions:

None
14 years 4 months ago #18110 by colebag77
Like was created by colebag77
I'm new to JFBConnect so apologies if this has been answered before, but I couldn't find it on the forum. I'm using 'Content Plugin - Like' to add a Like button to my article pages. Is there anyway to edit the image and text that is displayed on a Facebook page when somebody clicks 'Like'. Currently it just takes the heading of the article and the first image on the page - I'd prefer to have our company logo always displayed and maybe our company name? Thanks in advance.
The topic has been locked.
Support Specialist
14 years 4 months ago #18116 by alzander
Replied by alzander on topic Like
No problem for the question. That's what we're here for.

To specify the title, description and image you want used when the Like is clicked, you need to use Open Graph tags. Open Graph integration in JFBConnect is enabled by default, but you can check the setting in the Social Configuration -> Open Graph tab. Then, all you need to do is add the following tag to your article to specify the information you want used:
{JFBCGraph title=Title of Page}
{JFBCGraph description=Description for page}
{JFBCGraph image=http://site.com/link-to-image.jpg}
If you don't specify a title or description Open Graph tag, JFBConnect will automatically set the tags to the meta title and description that's set for the page.

It will take Facebook 24-48 hours to update the image for new like's, so if you try right away, you may not see a difference. You can use the debug tool to see what Facebook 'sees' on your page from the Open Graph tags:
developers.facebook.com/tools/debug

You can also use the Open Graph tab in the social configuration area to specify a default image, in case you haven't explicitly set one on a page using the tag above. This is good for using your logo or something, just to make sure some random image isn't shown. To do so, add the following tag into the defaults box:
image=http://site.com/good-default-image.jpg

For more about JFBConnect's Open Graph features, see:
www.sourcecoast.com/jfbconnect/features/...pen-graph-for-joomla

Hope that (lengthy) explanation helps, but if you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.