Login

[insert_php]    session_start();    [/insert_php] [insert_php] if ($_SESSION[‘FBID’]): [/insert_php]

 

User name:   [insert_php] echo $_SESSION[‘USERNAME’]; [/insert_php]

User fb ID:  [insert_php] echo $_SESSION[‘FBID’]; [/insert_php]

User Full name: [insert_php] echo $_SESSION[‘FULLNAME’]; [/insert_php]

User Email: [insert_php] echo $_SESSION[‘EMAIL’]; [/insert_php]

Log out

[insert_php] else:  [/insert_php]

Login with facebook

[insert_php] endif [/insert_php]

 

<ul>

<li> a</li>

</ul>