1. Create the Facebook App
The first step is to create a new comment application. Once you login to Facebook scroll down the left-hand sidebar. Look under the Developer section and click on Manage Apps.
On the Facebook Application page, you simply have to click on the Create New App button. Then, type up a unique name in the App Display Name field.
Once you submit this, you will be given an App ID/API key and an App secret key. These keys will be automatically inserted in the code that will be given later on – so you do not have to memorize the figures.
On the Facebook Comments plugin page, you can now enter the URL of your website, and choose the number of posts to be displayed, the width of comments section as well as its scheme.
You can then get the generated plugin code. Remember to select the correct App ID, so that the right application ID is inserted into the code. This would have been the app you created in the previous step.
Copy this code into a text editor such as Notepad, as you will use it in steps 2 and 3.