I can see a problem in this line
$linkedin->setTokenAccess(array('oauth_token' => $token["access_token"],
'oauth_token_secret' => ""));
your must provide a secret to set the token access.
I found a nice example about Linkedin Integration, wich I like to share
with you, I tested and it works just fine.
How to Integrate login with LinkedIn oAuth in PHP