Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- require 'stuff/facebook-php/src/facebook.php';
- $facebook = new Facebook(array(
- 'appId' => 'my app id',
- 'secret' => 'secret',
- ));
- // Get User ID
- $user = $facebook->getUser();
- ?>
- Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/02/6945202/html/copoetry/index.php:6) in /home/content/02/6945202/html/copoetry/stuff/facebook-php/src/facebook.php on line 37
- Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/02/6945202/html/copoetry/index.php:6) in /home/content/02/6945202/html/copoetry/stuff/facebook-php/src/facebook.php on line 37
- <?php
- require 'stuff/facebook-php/src/facebook.php';
- $facebook = new Facebook(array(
- 'appId' => 'my app id',
- 'secret' => 'secret',
- ));
- // Get User ID
- $user = $facebook->getUser();
Add Comment
Please, Sign In to add comment