How to add Facebook Comment box for your website ~ Ofuran

How to add Facebook Comment box for your website

How to add Facebook Comment box for your website


Create a Facebook comment box for your website is very easy.

Step 1: Create a Facebook app in this link. Go to the dashboard of the app and make it public.

Step 2: Go in this link to get code for comment box. Here step by step the the process is described. Get code for comment box and place the first code after starting body tag of your website. Place the second code where you want to appear the comment box of your website.




The first and second code will be as following.



If you use blogger platform then you may face an error like 

Error parsing XML : The reference to entity “version” must end with the ';' delimiter [duplicate] 

To solve this error add amp; after & of js.src link.
Do not understand! The js.src link will be as following-
 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0

Here after   #xfbml=1&   ,   amp; has added as extra code. You should add amp; after every & of this link.

Hope you have enjoyed this article. 

'