My code :
Render me
$(\'#render-me\').click
Try to add this markup
<div id="fb-root"></div>
in bottom of page and make sure you are added FB script. Please have a look the image
Please follow these steps you will able to solve you problem.
For more info please go through this link https://developers.facebook.com/docs/reference/plugins/like/
You have to specify a node already in DOM. So, you can't use:
FB.XFBML.parse(document.getElementById('button-facebook'));
use instead:
FB.XFBML.parse(document.getElementById('social-facebook'));
and it will work fine ;)