Facebook Introduces Comments Box Widget

By: Mike Sachoff - February 20, 2009

Facebook has launched its first social widget for the recently launched Facebook Connect, called Comments Box.

Comments Box can be added to any Web site or blog and it allows other Facebook users to comment on any of the content. The widget also allows non-Facebook users to comment on content as well.

The Facebook Developer Blog provides details on how to add the Comments Box widget to any site.

To add the Comments Box to your site, follow these simple instructions:

Set up a basic Connect application. Take note of the API key and specify a callback URL to your website.

Download this cross-domain receiver file, and upload it to your website.

Add these snippets of code to each file where you want a Comments Box.

Within the <html> tag, add: xmlns:fb="http://www.facebook.com/2008/fbml"

Add the following code wherever you want a Comments Box to appear in your page.

Replace ”’YOUR_API_KEY_HERE”’ with your API key, and include the path to the cross-domain receiver.

The Comments Box can be customized and all comments can be moderated.


How To: Create a Comments Box with Facebook Connect in 5 Minutes from Pete Bratach on Vimeo.

Mike Sachoff

About the Author

Mike SachoffMike is a staff writer for WebProNews.

View all posts by Mike Sachoff
  • http://potpolitics.com POTPOLITICS@DO FOLLOW

    Facebook,digg all these sites are plaid out
    I can’t wait for the sites coming down the pike.
    In the meantime I have been getting into API’s just to kill time
    Hey that Rackspace ad link is 404 :)
    There here in San Antonio where I’m at :)
    I send this site to all my friends via Stumble
    thanks keep it coming

  • http://seeit1st.blogspot.com/2009/01/kitchen-design-ideas.html Kitchen Design Ideas

    I never try facebook, but I’ll give it try

  • http://officialsafetyandsecurity.com Debbie Morgan

    Thanks, Mike, for this information. I’m on FaceBook mainly to socially market my safety and security web site as well as raise awareness for it’s products through discussion with my friends so this sounds like a great idea for my site. I’m not sure how simple it will be to integrate but certainly worth checking out!

  • http://homeproud.blogspot.com Guest

    I am on Facebook and this is good news.Will check out again and hope the application is easy to set up from there.

  • http://www.indiesurf.com Darren Tan

    Would it slow down the loading of a blog? Most widgets will…

  • sundar