To get the connections of a linkedin user we need to set member permission (https://developer.linkedin.com/documents/authentication#granting) . But i did not see any thing about it in http://drupal.org/project/linkedin

Need help about above mentioned issue

Comments

nevets’s picture

I have not used the module but from

Per-user OAuth authentication between LinkedIn and Drupal

I would expect a setting somewhere under the users profile page (user/{uid}) or edit page (user/{uid}/edit)

khurrami’s picture

It requires the member permission "r_network" so after adding following patch i got it working for me

linkedin/linkedin.inc
if (!isset($_GET['action']) || $_GET['action'] != $_SESSION['random']) {
$_SESSION['random'] = $random;
--$url = $base_url . "/requestToken;
++$url = $base_url . "/requestToken?scope=r_network";

Thanks