Home arrow PHP arrow Page 3 - How to Add Facebook Comment Boxes with PHP

Configuring Your Facebook Comment Box - PHP

Facebook comments are a great way to optimize your site for social media and add a level of user-engagement to you site. Quality website comments can increase your website's credibility, as well as its traffic. This tutorial will teach you how to use Facebook's API Connect to integrate comment boxes on your website in a few simple steps, utilizing a little PHP and some elbow grease.

  1. How to Add Facebook Comment Boxes with PHP
  2. Integrate Facebook Comments Code with Wordpress or PHP
  3. Configuring Your Facebook Comment Box
By: Codex-M
Rating: starstarstarstarstar / 2
June 22, 2011

print this article



At this point in the integration process, your Facebook comment box should be working pretty well. However, you can still configure your Facebook comment box according to your needs. To do so, follow these steps:

  • Login to Facebook.
  • Go to the website where the comment box has been integrated.
  • Since you are an administrator, you should see a “Settings” link. Click this link and you will see the configuration parameters for your Facebook comment box. To combat spam and comment abuse, the following are recommended:

a.) Check “Let me approve each comment before it is shown to everyone”. This will ensure that all comments published on your website are helpful in the discussion and related to your website post.

b.) Under Blacklisted words, select “Standard Facebook Restrictions”.

c.) To increase the chances of those that do not have Facebook accounts commenting on your website, check “Allow users to post using other login providers”.

d.) Check “Automatically correct comment grammar mistakes”, so that the comments are grammatically correct.

e.) Under “Comments composer” select “Collapse when there are more than 5 comments”.

Finally click Save to implement the changes. This will be implemented site wide. See screenshot below:

You can moderate all comments on your Facebook developer page:

  • Go to: https://www.facebook.com/developers/apps.php
  • Login to your Facebook account.
  • In your apps, click comment apps and then click “Moderate Comments”. You should then see all of the comments made on your website using Facebook.


>>> More PHP Articles          >>> More By Codex-M

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: