用的宝塔环境!
谷歌授权登陆安装测试完成。fecebook根据文档正确填写!但是回调的时候报错!报错如下!
ArgumentCountError
Too few arguments to function Facebook\Helpers\FacebookRedirectLoginHelper::getLoginUrl(), 0 passed in /www/wwwroot/T/vendor/fancyecommerce/fecshop/app/appfront/modules/Customer/controllers/FacebookController.php on line 75 and at least 1 expected
- in /www/wwwroot/T/vendor/facebook/graph-sdk/src/Facebook/Helpers/FacebookRedirectLoginHelper.phpat line 140
131132133134135136137138139140141142143144145146147148149 /**
- Returns the URL to send the user in order to login to Facebook.
*
- @param string $redirectUrl The URL Facebook should redirect users to after login.
- @param array $scope List of permissions to request during login.
- @param string $separator The separator to use in http_build_query().
*
- @return string
*/
{
return $this->makeUrl($redirectUrl, $scope, [], $separator);
}
/**
- Returns the URL to send the user in order to log out of Facebook.
*
- @param AccessToken|string $accessToken The access token that will be logged out.
- @param string $next The url Facebook should redirect the user to after a successful logout.