我一直在使用社交网站几天与Facebook没有问题.今天,我开始收到此错误.
{ "error":
{
"message": "An active access token must be used to query information
about the current user.", "type": "OAuthException",
"code": 2500, "fbtrace_id": "FTvIz9t1LT+"
}
}
Run Code Online (Sandbox Code Playgroud)
错误似乎很简单,但我似乎无法在线看到解决方案.有没有办法使用Socialite重置我的access_token.
请注意:我几乎都遵循本教程
当我尝试获取时,错误在回调中
$userProvider try {
$userProvider = Socialite::driver('facebook')->user();
} catch (Exception $e) {
Log::info('Callback Error ' . $e->getMessage());
return Redirect::to('redirect');
}
Run Code Online (Sandbox Code Playgroud)
谢谢,Rich