code: public function getUserProfile() {
  		$linkedin = $this->getClient();
  		
  		$response = $linkedin->get('/people/~:(id,first-name,last-name,picture-url,public-profile-url,email-address)');
  		
  		if (isset($response['emailAddress'])) {
  			return array(
  				'userid'=>$response['id'],
  				'name'=>$response['firstName'].' '.$response['lastName'],
  				'email'=>$response['emailAddress'],
  				'imageurl'=>$response['pictureUrl']
  			);
  		}
  	}
docs: Returns short linkedin profile after succes login
  
  @return array User Profile