- or download this
Endpoint: https://api.linkedin.com/v2/accessToken
JSON:
...
"message":"Empty oauth2 access token",
"status":401
}
- or download this
my $linkedin = LWP::Authen::OAuth2->new(
client_id => 'xxxxxxx',
...
print "Location: $auth_url\n\n";
exit 0;
}
- or download this
sub authorize_linkedin {
my $token = $linkedin->request_tokens(
...
print $data{'code'};
exit 0;
}