if (isset($_GET['key'])) { $fs->permanent_facebook_key($consumer_key, $consumer_secret); } //$fs->setStatus("updating my status with my new php library called Facebook Streams",$_SESSION['fb_userid']); $fs->streamRequest($_SESSION['fb_userid']); } ?> <html> <head> <title>Facebook Streams</title> </head> <body> <?php $fs->showJs(); ?> <h2>Welcome to a Facebook Streams PHP example.</h2> <p>This site is a basic showcase of Facebook's new Streams method. Everything is saved in sessions. If you want to start over <a href='<?php echo $_SERVER['PHP_SELF']; ?> ?test=clear'>clear sessions</a>.</p> <p> Get the Facebook Streams code at <a href='http://github.com/voitto/facebook_stream'>http://github.com/voitto/facebook_stream</a> <br /> Read the documentation at <a href='http://docs.google.com/Doc?id=dg9cvb8x_028vf5f6t'>http://docs.google.com/Doc?id=dg9cvb8x_028vf5f6t</a> </p>