From 036c067aa24467dea505862e1110a02e566870d2 Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Wed, 13 Jun 2018 11:08:27 +0800 Subject: [PATCH] url --- auth/linkedin/callback.php | 2 +- auth/linkedin/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/linkedin/callback.php b/auth/linkedin/callback.php index 25999fd..53ff3ed 100644 --- a/auth/linkedin/callback.php +++ b/auth/linkedin/callback.php @@ -70,4 +70,4 @@ function getInfo($url, $access_token) //$access_token = getAccessToken($_GET['code']); -print_r($GLOBALS); \ No newline at end of file +dump($GLOBALS); \ No newline at end of file diff --git a/auth/linkedin/index.php b/auth/linkedin/index.php index f1e2a2c..d86d728 100644 --- a/auth/linkedin/index.php +++ b/auth/linkedin/index.php @@ -21,7 +21,7 @@ function getCodeUrl() 'client_id' => '81cc4t9fuu9bpu', 'redirect_uri' => 'https://fengyuexingzi.top/auth/linkedin/callback.php', 'state' => $GLOBALS['state'], - 'scope' => 'r_fullprofile r_emailaddress w_share', + 'scope' => 'r_basicprofile r_emailaddress w_share', ); foreach ($data as $k => $v) { if (!$v) {