I have tried this:
<div style="width:52px;overflow:hidden;">
<fb:like layout="button_count"></fb:like>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'YOUR_APP_ID', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
</div>
Where it only shows a like button of FaceBook but does not shows how many people liked it. After pressing like it only shows a V sign of facebook (that i liked it).
How do i show always total liked numbers?
Seems like you are using XFBML Version for Like Button.
Make Sure you have define XML namespace to yout html as follows.
Define your following code just after body tag
then Use your button code on page like