Facebook Live Stream Module

This module leverages the Facebook Open Stream API. Once installed, the module allows users of the Drupal instance to access their Facebook account and view the real time stream of their friends’ updates from Facebook in a block within their Drupal instance. Users can control the number of posts viewable via the profile settings tab.

To access live stream on their Drupal instance, a user will have to give the application permission to access his/her Facebook account. The module will auto-retrieve and update the Live Stream block .The auto-retrieval interval for the Live Stream, can be configured by site administrator in the block configuration page.

Demo

  • The demo is available at http://fbconnect.azrisolutions.com/ .
  • Login as username demo, password demo.
  • After login you will be redirected to profile page.
  • Click on Facebook Connect tab.
  • Click on Facebook connect button to login to your facebook account.
  • Then You will see a Facebook Stream block on the left side bar.
  • Click on get perm button to give permissions to access your data.
  • After you gave permissions the block will be loaded with your facebook stream.

REQUIREMENTS

Installation

  • install fbconnect module
    1. Download fbconnect from http://drupal.org/project/fbconnect
    2. Before enabling module create an application in facebook (Read more about creating application: http://drupal.org/node/453420)
    3. Upload the 'fbconnect' folder into your module directory
    4. Download the Facebook PHP libraries from http://svn.facebook.com/svnroot/platform/clients/packages/facebook-platf.... Copy the content of facebook-platform/php folder to facebook-client folder in the fbconnect directory.
    5. Activate the module through your website's modules administration pages
    6. Configure the module through the 'Fbconnect' section of the 'Site configuration' menu, using the information provided by Facebook (API key, Secret API key)
    7. Edit the page.tpl.php file in your theme folder. Add the facebook xmlns for rendering FBML with Internet Explorer : .
  • install jquery_update devel module
  • install jquery UI module by following instructions from http://drupal.org/node/388384#comment-1530114
  • install facebook_stream module
    1. Copy facebook_stream module into your modules directory
    2. Enable the module at admin/build/modules
    3. Enable facebook stream block at admin/build/blocks
    4. Configure the no of posts to be displayed at user/%/fbstreamconnect