如何通过服务器端身份验证获取用户访问令牌
How to get user access token though server-side authentication
如何通过服务器端身份验证 Facebook SDK 获取用户访问令牌。我遇到了这个错误:
Catchable fatal error: Argument 1 passed to Facebook\Helpers\FacebookRedirectLoginHelper::__construct() must be an instance of Facebook\Authentication\OAuth2Client, string given, called in /home/ds09/public_html/adopted/newsiteadmin/facebook_sdk_api/examples/access_token.php on line 50 and defined in /home/ds09/public_html/adopted/newsiteadmin/facebook_sdk_api/src/Facebook/Helpers/FacebookRedirectLoginHelper.php on line 75
提前感谢您的帮助
如何通过服务器端身份验证 Facebook SDK 获取用户访问令牌。我遇到了这个错误:
Catchable fatal error: Argument 1 passed to Facebook\Helpers\FacebookRedirectLoginHelper::__construct() must be an instance of Facebook\Authentication\OAuth2Client, string given, called in /home/ds09/public_html/adopted/newsiteadmin/facebook_sdk_api/examples/access_token.php on line 50 and defined in /home/ds09/public_html/adopted/newsiteadmin/facebook_sdk_api/src/Facebook/Helpers/FacebookRedirectLoginHelper.php on line 75
提前感谢您的帮助