EyeQ Tech
EyeQ Tech

Reputation: 7378

Scribe Oauth example: LinkedIn, what to input

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

Upvotes: -2

Views: 1477

Answers (1)

alessioarsuffi
alessioarsuffi

Reputation: 561

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 ...

Upvotes: 2

Related Questions