TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Can you customize the Facebook like button?

1 pointsby MichaelRihaniover 13 years ago
I vaguely remember seeing someone hack together variations of the Facebook like button for their website. I'm wondering, can you edit the CSS or other parts of the code to change the size, color, and overall look of the like button? Any help would be greatly appreciated, thank you!

2 comments

jmslauover 13 years ago
Not sure if you are asking whether you can do it according to their policies, or whether you can technically accomplish it. If you are asking the latter, you can whatever you like with the button, then just call the Facebook Graph API (<a href="https://developers.facebook.com/docs/reference/api/" rel="nofollow">https://developers.facebook.com/docs/reference/api/</a>) via Javascript when the button is clicked.<p>Hope that helps.
评论 #3418926 未加载
bvirklerover 13 years ago
According to the TOS (<a href="http://www.facebook.com/brandpermissions/logos.php" rel="nofollow">http://www.facebook.com/brandpermissions/logos.php</a>) you can change the size but nothing else.<p>"While you may scale the size to suit your needs, you may not modify the Like Button in any other way (such as by changing the design)."
评论 #3418927 未加载