Reputation: 1094
I want to get a Facebook Like button for my site. I want to create one with a button count to the right of the button.
Only if i create one with my own url the display style changes, and it gives an inline count of the likes. I dont want that. I want the count to display to the right of the button.
Does someone knows how to do that? Cause for example if you type in 'http://betaalsociaal.nl/' in the Like generator it does another display style then if i do another url. Why is that?
Thanks in advance
Upvotes: 0
Views: 2005
Reputation: 2470
In this page, there's an option for styles... pick one you like: http://developers.facebook.com/docs/reference/plugins/like/
The one you want is button_count.
If you want to know how many like's your page has programmaticly, you could use the JSON object:"https://graph.facebook.com/?ids=YOURPAGEURL/"
Upvotes: 1
Reputation: 871
I believe that is just how Facebook's custom Like control works. You can change the layout style, I believe the style you're after is button_count
.
<fb:like href="" layout="button_count" show_faces="false" width="450" font=""></fb:like
Upvotes: 0