Version 2

    Simple example code to login to Facebook from a Jive app and post text in the FB wall.


    To run this app, you need to register it in Facebook


    Then, you need to put the App id that Facebook gives you in the FB.init function in the javascript and change the url path to the channel file.



          appId      : '0000', // App ID

           channelUrl : '//http://www.<your server>.com/channel.html', // Channel File

           status     : true, // check login status

           cookie     : true, // enable cookies to allow the server to access the session

           xfbml      : true,  // parse XFBML

           oauth      : true



    Install the app in your Jive instance and you should be able to run it.