Facebook request access token and get email
===

I have a facebook login script for my site that currently works fine. I want to add the ability to request the email from user, along with the current basic info. I know i need to request an access token, but icant quite figure out how. Here's my current code:

    $facebook = new Facebook(array(
                'appId' => APP_ID,
                'secret' => APP_SECRET,
                'cookie' => true
            ));
    $session = $facebook->getSession();
    
    if (!empty($session)) {
        # Active session, let's try getting the user id (getUser()) and user info (api->('/me'))
        try {
            $uid = $facebook->getUser();
    
    	
            $user = $facebook->api('/me/');