Like Facebook Page button
The default Facebook "Like Box" is too big for my site.
I would like to use a very simple like button, without the facebook page picture, name, fan names, etc. When my website's visitors click on it, they should become fans of my Facebook page.
I can't find out how to remove the page name and picture (not sure if it's even possible)... Any idea?
--
update:
here is a very similar question: Facebook Like button for fan page - cannot create simple button with no 开发者_开发知识库answer so far. Any workaround I could use?
Is this more like it?
https://developers.facebook.com/docs/reference/plugins/like/
So your code would look something like this:
iFrame:
<iframe src="http://www.facebook.com/plugins/like.php?app_id=212715052108961&href=PAGEURL;send=false&layout=button_count&width=50&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe>
XFBML:
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=212715052108961&xfbml=1"></script><fb:like href="PAGEURL" send="false" layout="button_count" width="50" show_faces="false" font=""></fb:like>
Why not just use a like button?
精彩评论