Facebook, how to change like button image?

前端 未结 3 1600
你的背包
你的背包 2020-12-09 00:04

Does anyone know how to change the image for the facebook like button?

I\'m using the XFBML version.



        
相关标签:
3条回答
  • 2020-12-09 00:27

    Actually you can legally change the like button as long as you don't disguise it as something else, as confirmed by this forum post. However how to do it is a bit more tricky. Here's an example on how change it (the iframe version doesn't work on i.e.):

    http://www.esrun.co.uk/blog/disguising-a-facebook-like-link/

    0 讨论(0)
  • 2020-12-09 00:29

    You simply can't (or not allowed to!). Read this answer.

    Also check the Facebook Usage Guidelines, under the Facebook Like Button section (Usage tab):

    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).

    0 讨论(0)
  • 2020-12-09 00:29

    I know its an old question, but you can do it if you like. Use the iframe inside a div or span tag, then put a backgroung image in the tag and make the iframe "opacity: 0", so, you can click the button, but you don´t see it. Here´s an example: Like Button with custom image

    0 讨论(0)
提交回复
热议问题