Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i haven't acces for display skills and educations in linkedin #152

Open
med004 opened this issue Jan 11, 2018 · 3 comments
Open

i haven't acces for display skills and educations in linkedin #152

med004 opened this issue Jan 11, 2018 · 3 comments

Comments

@med004
Copy link

med004 commented Jan 11, 2018

Hello,
I user Happyr for authentification with linkedin but when I get data profil linkedin I haven't acces for display all data for example i haven't access to display skills and educations
this is part of my code:

` $linkedIn=new LinkedIn('778bwq3u29853q', 'y9kVV7SHy9NsJFvd');
$linkedIn->setHttpClient(new \Http\Adapter\Guzzle6\Client());
$linkedIn->setHttpMessageFactory(new GuzzleMessageFactory());
$linkedIn->setAccessToken($response->getAccessToken());
$scope = array('w_share', 'rw_company_admin', 'r_emailaddress', 'r_basicprofile');

        if ($linkedIn->isAuthenticated()) {

            $user=$linkedIn->get('v1/people/~:(firstName,lastName,email-address,skills)');

        }

echo "

";
var_dump($user);
echo "
";
`

in var_dump I have firstName ,LastName and email but i haven't skills

in application linkedin I check all autorisation :

r_basicprofile | r_emailaddress | rw_company_admi | w_share

how to resolve this error please

@alister
Copy link

alister commented Jan 11, 2018

well, first of all, you'll need to regenerate those API secrets.

Also, I don't believe that skills are available as part of that URL. I was looking myself earlier, and they are simply not returned. There is a separate API to edit/update skills, but apparently no way to read them from the usual profile API. That would be too useful for LinkedIn to want to provide.

@med004
Copy link
Author

med004 commented Jan 11, 2018

@alister okey my friend but where is the solution for resolve this error ans for secret i generate secret and add in my code where initialize linkedin .. ahh i use version 2 but i haven't access also for get skills v2/people~:/skills but i haven't access

@med004
Copy link
Author

med004 commented Jan 12, 2018

alo any help please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants