Slide 25
Slide 25 text
/auth/fb-confirm <3>
// use the authorisation to get user data we need to id user.
try { $About = $FB->Get('/me?fields=id,name,email')->GetGraphUser(); }
catch(Throwable $Error) { return; }
$Info = [
'FBID' => $About->GetID(),
'Name' => $About->GetName(),
'Email' => $About->GetEmail(),
'Token' => $Token->GetValue()
];
if(!$Info['Email']) { return; /*?*/ }