/ Published in: HTML
This is a small hack to include a Like button in a fbml tab or a static facebook tab and style it the way you want it. Note: Facebook constantly changes, but as of January 7, 2011 this is still working. Full tutorial can be seen here http://bit.ly/giTBT8
Expand |
Embed | Plain Text
/* IN FBML TAB */ <style type="text/css"> .connect_widget_vertical_center, .comment_body { display: none; } .connect_widget_button_cell { display: block; } .connect_widget_interactive_area .connect_widget_button_cell a { background: url(http://finite/path/to/like_button.jpg) no-repeat; border: none; display: block; height: 22px; overflow: hidden; padding: 0; width: 59px; } .connect_widget_interactive_area .connect_widget_button_cell a span { display: none; } /* Remove unnecessary border radius */ .connect_widget_interactive_area .connect_widget_button_cell a { -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; } </style> <fb:comments xid="[Random Number Associated To Random Comment Feed]_comments" canpost="false" candelete="false" returnurl="http://www.facebook.com/[Your Facebook Page]"><fb:title></fb:title></fb:like>
You need to login to post a comment.
