Add Facebook Comments to your site

1 post Page 1 of 1
Contributors
User avatar
RunarM
Hardcore Programmer
Hardcore Programmer
Posts: 508
Joined: Wed Nov 18, 2009 11:33 pm

Add Facebook Comments to your site
RunarM
In this tutorial i'll teach you how to add Facebook comments to your website, like this:
Image
Image

1. Go to the Facebook developers page and then (Core Concepts › Social Plugins › Comments):
https://developers.facebook.com/docs/re ... /comments/
Image

2. Scroll down until you see a list like this:
Image

URL to comment on - this is the URL that people are going to comment on:
Image

Numbers of posts - The number of posts that are going to be displayed:
Image

Width - Width of the comment box:
Image

Color Scheme - The color scheme you want:
Image

When you are done customizing, click "Get code":
Image

3. A new window will popup, for this tutorial i'm going to use HTML 5 (because iframes doesn't work)
Image

Add this first code to your <head>:
Image
Image

And this second code somewhere in the <body>:
Image
Image

Click Okay and you're done!
Image


That's all, now you'll have a comment box like this:
Image

-RunarM
Just another day in my life.
http://www.codexvideos.com
1 post Page 1 of 1
Return to “Tutorials”