Topic-icon Custom Facebook LIKE and Tweet buttons?

Active Subscriptions:

None
7 years 11 months ago #44232 by aphils
I'm sure you've been asked this a million times, but I don't see it in the FAQ. I know this is possible for the *login* button, but does JFBC provide a way to do this for the like and tweet buttons? I would like to do something like Upworthy does, here: www.upworthy.com/watch-this-incredible-y...speechless?c=reccon1

Thanks!
The topic has been locked.
Support Specialist
7 years 11 months ago #44236 by alzander
Just to be clear, you can't customize the Like button. The Like button is completely controlled by Facebook to prevent abuse because, once it's clicked, the user has then "Liked" the content. If you could control the appearance of that button, it would be ripe for abuse.

With that said, you *can* customize the Share button. We have support for that, but it's not well documented. To do so, you simply need to create your button or image however you want and then use the following Javascript:
jfbc.social.feedPost(title, caption, description, url, picture)
An example would be:
<a href="javascript:void(0);" onclick="jfbc.social.feedPost('My Great Page', 'Amazing page of cat pictures', 'This great page of cat pictures is just great for everyone', 'http://www.sourcecoast.com/', 'http://www.sourcecoast.com/logo.png');"><img src="/share.png" /></a>
We don't have a similar method for Twitter yet, but it will be coming in a future release.

I hope that helps explain and answer your question, but if you need any more help, just let me know!

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

None
7 years 11 months ago #44238 by aphils
Thanks, this helps a lot! Any ETA on the twitter solution? Just trying to plan :-).

Thanks, Alex, and congrats on what looks like a new baby?!?!
The topic has been locked.
Active Subscriptions:

None
7 years 11 months ago #44239 by aphils
Oh, and not to be greedy, but if there is a similar trick for LinkedIn, please share!
The topic has been locked.
Support Specialist
7 years 11 months ago #44245 by alzander
We have a task for our 6.2 release to add the ability for custom sharing buttons for the other social networks. With that said, for a custom Twitter share button, I'd recommend checking out the documentation from Twitter, below:
dev.twitter.com/docs/tweet-button
Specifically, at the very bottom is a "Build Your Own Tweet Button" section, which gives a quick example of HTML and CSS you could use in the meantime.

Thanks, Alex, and congrats on what looks like a new baby?!?!

Hehe.. whoops. I was testing with my Facebook account and updated the profile picture without changing it back. That baby is now my 4 year old girl.. not much of a baby anymore. We also have a 2 year old boy. They keep us very busy and still act very much like babies sometimes :)

Thanks,
Alex
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Get the Hide and Seek Toy on Amazon