pass facebook connect session from php to javascript
- by Jake
I'm authenticating via PHP:
// the php facebook api downloaded at step 3
require_once("facebook-client/facebook.php");
// start facebook api with the codes defined in step 1.
$fb=new Facebook( 'XXXXXXXXXXXXXXXXXXXX' , 'a3eaa49141ed38e230240e1b6368254a' );
$fb_user=$fb->get_loggedin_user();
var_dump($fb_user);
And the session is created in PHP. I want to use hte facebook javascript client library from here on out. How do I do this?