-2

I'm trying the LinkedIn example Oauth in scribe-java lib https://github.com/fernandezpablo85/scribe-java , now when the code reaches this line, what should I input to the console?

System.out.print(">>");
Verifier verifier = new Verifier(in.nextLine());
System.out.println();

The author said the tag to ask is scribe, but it seems too broad? Thanks

Nick is tired
  • 6,860
  • 20
  • 39
  • 51
EyeQ Tech
  • 7,198
  • 18
  • 72
  • 126

1 Answers1

2

first print out your request token like this :

System.out.println("REQUEST TOKEN -------> " + requestToken);
requestToken should be like this [axaxaxaxaxaxax, bcbcbcbcbcbcbc] ;

copy axaxaxaxaxxa and paste it:

www.linkedin.com/oauth/authorize?oauth_token=HERE ,

than your browser will print a url with a &oauth_verifier=xxxxxxxxxxxx copy xxxxxx and paste in your eclipse java project ...

Lee Taylor
  • 7,761
  • 16
  • 33
  • 49
alessioarsuffi
  • 561
  • 5
  • 16