How to Add Facebook Comment on Website

Author: Zeeshan Arshad     66     09/24/2013

Estimated reading time: 0 minutes, 29 seconds

This code require that you have an application created on facebook under your account. You can read How to Create Facebook Application.

 

1. Goto following facebook page

 

https://developers.facebook.com/docs/reference/plugins/comments/

 

2. Click "Get Code" and copy following code right aftertag. (1)

 

 

 

3. Use following code on a webpage where you want to display comment box (2)

 

 

 

Notes:

 

(1) Facebook assign your application_id so you don't have to specify

 

(2) data-href is must and should be full url of the page in order to make it work properly


Was this topic helpful?

Yes
No
Subscribe YouTube Channel

Zeeshan Arshad is a self-taught and multi-dimensional person with extraordinary track record of success with international clients and students.

Feel free to contact him for your project, training purpose or guidance.