1

Is facebook 'like' only button (without counter) no longer possible?

How do I shut off the counter +'comment-bubble'? works g+,pinit etc - on these I easily using their HTML5 code generators create asyncronous buttons without counters - don't show any counter - see www.LazyBee.biz for clarification.

Any ideas?

How do I fix this code so no counter is shown (see under comments below):

Wwhy can't facebook do like all other major social players and let user opt out of the counter-swamp?

Dale K
  • 25,246
  • 15
  • 42
  • 71

3 Answers3

0

I have seen some people put the like button in an <div> and then make the width exactly the width of the button (without the counter) and put overflow: hidden in the CSS for the div. Basically the div acts as a matte of sorts.

Matthew R.
  • 4,332
  • 1
  • 24
  • 39
  • sorry, I'm a newbie. on twitter code generating page + google+ + pinterest it was SO easy to get code without counter! NOT so on facebooks code generation page :( Plz help me by rewriting this html5 that displays UNWANTED counter:
    – Peter Lazybee Biz Cederholm Aug 14 '13 at 16:09
0

Sure, just create a button yourself and use the API to initiate a like. See also How to trigger Facebook like button from custom button?

Community
  • 1
  • 1
giorgio
  • 10,111
  • 2
  • 28
  • 41
  • sorry, I'm a newbie. on twitter code generating page + google+ + pinterest it was SO easy to get code without counter! NOT so on facebooks code generation page :( Plz help me by rewriting this html5 that displays UNWANTED counter:
    – Peter Lazybee Biz Cederholm Aug 14 '13 at 16:04
  • How? what url to read? why can't facebook do like all other major social players and let user opt out of the counter-swamp? – Peter Lazybee Biz Cederholm Aug 14 '13 at 17:34
  • Don't complain like that ;) And no, I cannot help you. First try to talk to the api, ie. using the [PHP SDK](http://developers.facebook.com/docs/reference/php/). If it doesn't work out, search questions on SO. If you haven't found a suitable answer, open up a new question and post your code. That's how we role on SO ;) – giorgio Aug 15 '13 at 12:45
0

It is possible to generate the Facebook like button without the counter bubble.

In the code that Facebook's generator gives you there will be a parameter called data-layout, depending on the options you selected it will be one of four things: standard, box_count, button_count or button.

If you use button it will generate a single button with no counter.

EDIT:

I just noticed your comment with the code supplied by Facebook. If you change it to the following it will remove the counter:

<div class="fb-like" data-href="lazybee.biz " data-width="30" data-layout="button" data-show-faces="false" data-send="true"></div>

James O'Neill
  • 416
  • 4
  • 13