Skip to content

Commit e71112c

Browse files
authored
Update index.php
1 parent aa62398 commit e71112c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/index.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,9 @@
146146
} else {
147147
// define desired list of scopes
148148
$scopes = [
149-
Scope::READ_BASIC_PROFILE,
149+
Scope::READ_LITE_PROFILE,
150150
Scope::READ_EMAIL_ADDRESS,
151-
Scope::MANAGE_COMPANY,
152-
Scope::SHARING,
151+
Scope::SHARE_AS_USER,
153152
];
154153
$loginUrl = $client->getLoginUrl($scopes); // get url on LinkedIn to start linking
155154
$_SESSION['state'] = $client->getState(); // save state for future validation

0 commit comments

Comments
 (0)