Пример #1
0
  </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>

    <p>

    <?php 
$fs->verifyPerms(array('offline_access', 'status_update', 'read_mailbox'), $_SESSION['fb_userid']);
?>


</p>

  </body>
</html>