fengyuexingzi 8 years ago
parent 8523286220
commit 036c067aa2

@ -70,4 +70,4 @@ function getInfo($url, $access_token)
//$access_token = getAccessToken($_GET['code']); //$access_token = getAccessToken($_GET['code']);
print_r($GLOBALS); dump($GLOBALS);

@ -21,7 +21,7 @@ function getCodeUrl()
'client_id' => '81cc4t9fuu9bpu', 'client_id' => '81cc4t9fuu9bpu',
'redirect_uri' => 'https://fengyuexingzi.top/auth/linkedin/callback.php', 'redirect_uri' => 'https://fengyuexingzi.top/auth/linkedin/callback.php',
'state' => $GLOBALS['state'], 'state' => $GLOBALS['state'],
'scope' => 'r_fullprofile r_emailaddress w_share', 'scope' => 'r_basicprofile r_emailaddress w_share',
); );
foreach ($data as $k => $v) { foreach ($data as $k => $v) {
if (!$v) { if (!$v) {

Loading…
Cancel
Save