linkedin->client_id, $cfg->linkedin->client_secret, $_SESSION); $linkedin->auth(['r_basicprofile']); echo ""; var_dump($linkedin->me());