Conduit API
Case Study
Conduit API -> Conduit Your Facebook Applications
 
With the Conduit platform you can easily create apps and branded toolbars linked directly to your Facebook applications. You can also provide your users with continuous access to your applications, enabling them to receive updates and interact with your applications even when they are not on Facebook.com! Your free Conduit-powered community toolbar and App can greatly enhance your existing user experience and keep your users connected and engaged.
 
Facebook provides many different API's in a variety of languages (JavaScript, PHP, Ruby, Java, etc.), which easily integrate into your toolbar or App via HTML components and custom gadgets. Conduit suggests two main methods to easily integrate your Facebook application into your Conduit toolbar or App, regardless of the language(s) you run on your backend: Facebook Connect, and 3rd party cookies.
  • Facebook Connect:
     Facebook Connect can be used to allow your users to securely log in to Facebook via a toolbar component or App. Once logged in, the calling page (in this case, the HTML App or gadget) has access to all the logged-in user's information using Facebook Connect in JavaScript via the Facebook JavaScript Feature Loader. 
    To see an example of Facebook Connect in a real-life application, visit the Conduit App Marketplace, and install the Facebook Live Notifier component! More information on the Facebook Connect API can be found here.
  • 3rd Party Cookies:
    Another method of sharing data between your Facebook application and the toolbar front end is by using 3rd party cookies. Using this method, your Facebook canvas page passes user information as URL parameters via an iFrame on the Facebook canvas page. The destination URL of the iFrame (the iFrame 'src') saves the passed parameters as a cookie to the local user's system via cookies.
      Once this information is saved to the user's system via a cookie, the toolbar or App can now read these cookies and perform a direct connection to your backend servers using the user information as key data. 

    The 3rd party cookie method is best used when you wish to force the user to login to your existing application's Facebook canvas page before passing the logged-in user information back to the backend servers.
 
You can also increase the exposure of your Facebook application by gadgetizing it and placing it in the Conduit Marketplace. This will enable other Community Toolbar and App publishers to add your application to their own toolbars.
 
In addition to improving the popularity of your application you can also join the Conduit Rewards program, which allows you to develop a new revenue stream from your Facebook application by paying you for each toolbar installed by your application users.