Skip to content

Commit

Permalink
Added 'public-profile-url' to LinkedIn request for convenience (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
axieum authored and faustbrian committed Dec 2, 2017
1 parent 4ab9bef commit 02fac3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function getTokenUrl()
protected function getUserByToken($token)
{
$response = $this->getHttpClient()->get(
'https://api.linkedin.com/v1/people/~:(id,formatted-name,picture-url,email-address)', [
'https://api.linkedin.com/v1/people/~:(id,formatted-name,picture-url,email-address,public-profile-url)', [
'headers' => [
'Accept-Language' => 'en-US',
'x-li-format' => 'json',
Expand Down

0 comments on commit 02fac3f

Please sign in to comment.