You can use a plugin (just search for “Facebook”) or you can read this tutorial http://www.wpbeginner.com/wp-tutorials/how-to-add-the-facebook-like-box-fan-box-in-wordpress/
Official Facebook’s page for making code snippets for this is here https://developers.facebook.com/docs/plugins/like-button/
Thanks