Commented out console.log lines.
Added call to extend fb access tokens.
Corrected spelling error to get_fb_extended_tokens().
Corrected end of get_fb_extended_token() function from echo $data to return $data.