Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

KareemShellbaya88's avatar

KareemShellbaya88 wrote a reply+100 XP

3w ago

`POST https://graph.facebook.com/v3.3/oauth/access_token` resulted in a `400 Bad Request` response:
try{

        $facebookuser = Socialite::driver('facebook')->user();

    }catch(\Exception$e){

        return redirect()->to('/login')->with('error','Authentication Failed !');
        }

  				 This Works With Me .
				Your Error IS Due To The User Cancelled Facebook Login