OAuthException using Socialite with facebook - "message": "An active access token must be used to query information about the current user.", OAuthException using Socialite with facebook - "message": "An active access token must be used to query information about the current user.", laravel laravel

OAuthException using Socialite with facebook - "message": "An active access token must be used to query information about the current user.",


This was happening to me also. I fixed it running composer update and then composer dump-autoload. This will update Socialite to v2.0.21

Cheers


It is because v2.2 of Facebook API is no longer available. Update the laravel/socialite package:

composer update laravel/socialite

This way it won't affect your other packages.