페이스북 적용중

This commit is contained in:
gnuboard
2013-05-17 15:12:50 +09:00
parent 3670af6204
commit 811f9a8893
5 changed files with 86 additions and 38 deletions

View File

@ -20,7 +20,7 @@ require '../src/facebook.php';
// Create our Application instance (replace this with your appId and secret).
$facebook = new Facebook(array(
'appId' => '119146498278078',
'secret' => '311e0d6ff8ff43cfe0e75fe82d71777c',
'secret' => '6ffd7e325e2b4fbd83a2eebf9c6f33f9',
));
// Get User ID
@ -82,6 +82,9 @@ $naitik = $facebook->api('/naitik');
</div>
<?php endif ?>
<h3>PHP Cookie</h3>
<pre><?php print_r($_COOKIE); ?></pre>
<h3>PHP Session</h3>
<pre><?php print_r($_SESSION); ?></pre>