Add Facebook Comment Box to Your Site

Here is a easy to use script on a web site running PHP. You can also remove the PHP script for reading the current url and replace it with a static address of your current page. Copy and paste the follow under your content:

<iframe src=”http://www.facebook.com/plugins/feedback.php?href=<? echo $_SERVER[‘HTTP_HOST’]; ?>&amp;permalink=0&amp;limit=10″ scrolling=”no” frameborder=”0″ name=”comments4de5a17b0b1299724858306″ class=”comments” width=”680px” height=”150px”></iframe>

If you need help with adding a fb friendly URL to your code, use this tool on facebook to generate your code:

http://developers.facebook.com/tools/lint

One thought on “Add Facebook Comment Box to Your Site

Leave a Reply

Your email address will not be published. Required fields are marked *