ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How To Add A FaceBook Comments Box To Your Website

Updated on July 7, 2011

FaceBook offers a set of plugins that you can use to make your website more socially interactive. Previously, it was quite difficult to add these plugins through FaceBook Connect, but now, it has become so easy that you don’t necessarily have to be a seasoned web developer to do it.

FaceBook comments.
FaceBook comments.

Why use a FaceBook comments box?

There are plenty of advantages in using FaceBook comments boxes on your web pages. Among others, FaceBook comment boxes can:

  • Boost traffic – when a user comments on your page, by default, his comment will be posted on his or her FaceBook profile. Therefore, it will be publicly displayed to everyone in his or her friends list.
  • Commenting options for multiple platforms – your users don’t necessarily have to sign up for a FaceBook account to comment on your pages. They can also comment using their Hotmail, AOL, or Yahoo! Accounts.
  • Threaded comments – with a FaceBook comments box, you can comment directly to your users comments. You can give them more attention by replying to them directly under each of their comments.
  • No Spam – a user account is required before a comment can be made in the comments box. Most spam bots are incapable of doing this.
  • Moderate comments easily – comments can be easily moderated. You don’t have to leave the browser window to deal with comments. Moreover, you can also moderate the comments using a centralized FaceBook page. More on that later.
  • Comments have profiles – the users need profile ID’s before they can comment. Thus, people are more wary of what they are saying. Nobody can hide behind anonymousness. Plus, if some people get out of line, you have the option to delete their comment(s) or ban them from commenting.

Facebook Marketing: An Hour a Day
Facebook Marketing: An Hour a Day
This book will teach you how to effectively use FaceBook as a marketing tool to promote your business to its billions of users.
 


Okay, I’m sold. Where do I begin?

Setting up the FaceBook comments box is as easy is 1-2-3. Just go here, fill out the form, then click the Get Code button. Note: for the URL To Comment On field, enter the exact URL of the page in which the comments box will be placed.

Copy and paste the code to the body of your web page.


How do I moderate the comments?

There are 2 ways to moderate comments:

1. If you want to moderate comments on a per page basis, copy and paste this code to the header of the web page in which the comments box is placed.

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


Example:


<meta property="fb:admins" content="5555555555"/>


If you do not know what your FaceBook user profile ID is, you can simply log in to your FaceBook account, then click Profile located at the top, right-hand corner of the page. In your browser’s URL bar, you will see something similar to this: http:www.facebook.com/profile.php?id=5555555555. The 10-digit number after “id=” is your FaceBook profile ID.

If you changed your FaceBook profile address to something like: http:www.facebook.com/gilbert. You can use that as your user ID.


<meta property="fb:admins" content="gilbert"/>


You can also assign multiple users as moderators with the use of a comma (no spaces).

Example:


<meta property="fb:admins" content="gilbert,herbert,norbert,egbert"/>


2. If you want to have a centralized place to moderate comments, you need to set up your FaceBook developer account. Note: you will be asked to enter your credit card information.

Once you are finished setting it up, create a new app and fill out all the necessary info.

Once the app is created, look for the application ID, then paste this code to the headers of the web pages in which the comments boxes are placed.


<meta property="fb:app_id" content="{YOUR_APPLICATION_ID}" />
Find the application id.
Find the application id.


If you have 10 pages with comments boxes, each of those pages should have the code above pasted on them.

Now, you can check all the comments boxes just by accessing the app you created.

Moderate comments through the app you created.
Moderate comments through the app you created.
working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)