Saturday, April 2, 2011

How to Add Facebook Comment System to Your Site

facebook-comments

Facebook has recently released a new commenting system that aims to take the web by storm. This comment system can replace your existing commenting functionality and allows your reader to post comments with their Facebook account. The comments will also be posted to their Facebook’s wall, which could potentially increase more traffic for you.

Now if you are keen to implement the Facebook comment system in your site, here’s how you can do so:

Static site

If you are running a static website, adding the Facebook comment system is easy.

1. Go to Facebook comments social plugin page.

2. Enter the URL of your site, number of comments to show and the width of the comments. Click the “Get Code” button.

facebook-comments-getcode

3. Copy the code and paste it to your site where you want the comment to appear.

facebook-comments-code

4. Next, still in your site, paste the following code to anywhere between the <head> and </head> tag

<meta property="fb:app_id" content="{YOUR_FACEBOOK_USER_ID}">

Replace the “{YOUR_FACEBOOK_USER_ID}” with your own Facebook ID. This will allow you to moderate the comments.

5. Lastly, paste the following code to just before the <body> tag.

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>

That’s it for implementing Facebook comment on static website.

WordPress

The easiest way to implement Facebook Comment in your WordPress site is via plugin. One of the more promising plugin is Facebook Comments for WordPress.

1. Download, install and active Facebook Comments For WordPress.

2. Before you can use it, you need to register a Facebook application and obtain the app id. Go tohttp://www.facebook.com/developers/createapp.php and register a new app. Once you have registered the app, copy the Application ID and Application Secret.

facebook-comments-app-id

3. Back to your WordPress dashboard, go to the Facebook Comments settings page and paste the Application ID and Application Secret into the first two fields.

facebook-comments-for-wordpress

4. From here on, you can configure the plugin to your liking. The default language for comments is set to “Afrikaan”, so make sure you change that in the settings before you make it live. Once done, click the “Update Option” button.

Go to your blog and you should see the commenting system in action. If you are using other commenting system like Disqus or IntenseDebate, remember to deactivate them, else you will see two comment system in your blog.

7 comments:

  1. Activate your pass, and you'll get an Operation Journal that will track your stats in Official Blog competitive matches, along with an Operation Wildfire Coin which is ...

    ReplyDelete
  2. This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again. smm panels list

    ReplyDelete
  3. It’s very informative and you are obviously very knowledgeable in this area. You have opened my eyes to varying views on this topic with interesting and solid content. 사설토토사이트

    ReplyDelete
  4. Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”.
    coin mining

    ReplyDelete
  5. Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers.
    cheap panel

    ReplyDelete
  6. I read this blog very carefully, the articles were very nice I got lot of benefits from article. Thanks for sharing such a wonderful article. I have a website related to this, please visit this website, believe will benefit. Visit cheapest smm panel for any kind of SMM Services.

    ReplyDelete
  7. Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have.
    How to Speed Up WordPress Site

    ReplyDelete