FBConnect is a tiny and self-contained library to deal with Facebook SDK: just forget to put div#fb-root and enjoy the deferred object it returns.

Just include fbconnect.js somewhere in your HTML file and:

  .done(function(fb_session) {
  // do something with your facebook session

It’s possibile to specify some options:

    status: true|false,
    cookie: true|false,
    locale: 'en_US'

Refer to Facebook documentation for an explanation of each options.

The most important, and likely the only you will use, is *locale* which enables localization for the UI of Facebook Connect.

[github url=”http://guidone.github.com/FBConnect/”]