PHP Classes

login_with_linkedin.php

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  login_with_linkedin.php  >  (Un) Subscribe thread alerts  
Subject:login_with_linkedin.php
Summary:client scope.
Messages:2
Author:Kasper
Date:2015-07-27 18:57:01
 

  1. login_with_linkedin.php   Reply   Report abuse  
Picture of Kasper Kasper - 2015-07-27 18:57:01
FYI, for it to work I had to change

From:
$client->scope = 'r_fullprofile r_emailaddress';

To:
$client->scope = 'r_basicprofile r_emailaddress';

Brgds.,
Kasper

  2. Re: login_with_linkedin.php   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-07-27 19:32:51 - In reply to message 1 from Kasper
Yes, since May 12, 2015, applications can only have access to full profile after they are reviewed.

developer.linkedin.com/docs/apply-w ...

So, I have changed the examples to only request r_basicprofile, although r_fullprofile would still work for approved applications.