How to add Facebook Comments into XenForo

1 comment
How to add Facebook Comments into XenForo

Facebook Comments plugin is a commenting system powered by Facebook where visitors can comment on a site with their Facebook account. In this tutorial I will help you add Facebook Comments into XenForo. Some of my mates usually asked me why do we need to add Facebook Comments even if we already have our own comments system for users. Well, adding Facebook Comments in XenForo is just an option. Facebook Comments also help SEO XenForo which mean it will drive more traffic to your site. Now let's get started.

The first you need to do is go to Facebook Developers Page and Create a Facebook App. Give it a name and a app namespace.

How to add Facebook Comments into XenForo

Hit "Continue". Now Click on "Edit Setting". You will be redirect to a settings page where you can add your XenForo forum and see many other great stuff.

How to add Facebook Comments into XenForo

All you need to focusing on is your App ID. Now you will need to generate a Facebook Comments box for your forum by visit Comments Box code generator. Enter your forum url, how many posts you would like displayed be default and then click on "Get Code". There are 2 things you need to check: 1 is your app name, and your app ID. Check to see if they're the one that you created in Step 1. 


How to add Facebook Comments into XenForo

Now you must go to your XenForo forum Admin Control Panel and search for the following template: page_container_js_body. Copy the first code from the 1st box of your Facebook Comments
and paste them below the template. Save the template.


How to add Facebook Comments into XenForo

Now search for the template called ad_message_below. Copy the second code from the 2nd box of your Facebook Comments and paste them below the template. You can also change the width if you want.

How to add Facebook Comments into XenForo

Save the template and you're done!. Now go to a random post and look below the first post you will see a Facebook Comments box. If you want to put it some where else you can. Enjoy!

1 comment:

  1. tool get addon xenforo free : http://fshare.dlanh.com/XenGet.aspx

    ReplyDelete