//Linkedin API
public AuthHandler(OAuthService serviceProvider)
{
Scanner in = new Scanner(System.in);
Token requestToken = serviceProvider.getRequestToken();
System.out.println(serviceProvider.getAuthorizationUrl(requestToken));
System.out.println("And paste the verifier here");
System.out.print(">>");
Verifier verifier = new Verifier(in.nextLine()); //no errors in the code
accessToken = serviceProvider.getAccessToken(requestToken, verifier);
}
// Here iam requesting the accesstoken // I got the url