Topic-icon Custom like/share buttons

Active Subscriptions:

None
12 years 2 months ago #42598 by davlar
Hi - I would like to create custom styled like and share buttons. do you know how I can do this?

I see lots of (particularly viral video) sites have a custom twitter and facebook share button styled to match their site. I realise this means I probably lose the like/share count etc. but I don't really care about that.

Thanks
The topic has been locked.
Support Specialist
12 years 2 months ago #42697 by alzander
Replied by alzander on topic Custom like/share buttons
Sorry for the delay. For Twitter, we don't have an easy way to create a custom button right now.

For Facebook, you can create any image you want and then wrap it in a click tag, like below:
<a href="javascript:void(0)" onclick="jfbc.social.feedPost('Title', 'caption', 'description', 'http://www.link-to-shared-page.com', 'http://domain.com/image.jpg');"><img src="sharebutton.jpg" /></a>
That will show the share popup window whenever clicked with your predefined title, caption, description, image and URL link.

I hope that helps get you started. There may be an easier way to do the Twitter share as well, but I'd have to investigate that further... so start with the above :)

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago #43500 by davlar
Replied by davlar on topic Custom like/share buttons
great - thanks!
The topic has been locked.
Support Specialist
12 years 1 month ago #43508 by alzander
Replied by alzander on topic Custom like/share buttons
Glad to hear we could help. If you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.