I created a LinkedIn app with just r_fullprofile grant, setted to Live instead of Development, and got my API Key and Secret Key.
In the config.php of hybridauth, I have:
"LinkedIn" => array(
"enabled" => true,
"keys" => array("key" => "ABC", "secret" => "DEF"),
"scope" => "r_fullprofile"
)
I don't have problems to go to the login/authorization screen, BUT... this screen ask me to grant for: -Your Profile Overview, instead of Your Full Profile. - Your Email Address - Network Updates
I logged in and authorized anyway, was redirected to hybridauth again, to my domain. It shows me $adapter->getUserProfile() without problems, but it's just the basic profile.
I tried to use without success:
$adapter->api('/people/~');
or
$adapter->api('/people/~', 'post');
It returns:
LinkedIn Object([callback:protected] => [token:protected] =>
Array([oauth_token] => ... blah blah blah
How can I get the full profile? I need to get the Experience, Skills, and Education data.