0
votes

We've undertaken a new project of posting Jobs directly to LinkedIn using Job Posting API from within our web application. Our web application is developed in Java.

In order to post jobs, LinkedIn uses OAuth signed calls. OAuth-based authentication is very new for me. There is sample code available in LinkedIn Developers for posting of Jobs in C# here. But unfortunately, I couldn't find equivalent sample code for Java.

Any pointers/example code in posting of Jobs to LinkedIn written in Java are greatly appreciated.

1
I've written a java library that follows the full OAuth 1, you'll just have to provide the request token URL and authorization URL for LinkedIn and you'll be good to go. :) JOAuth - Buhake Sindi
Why it's been down voted here? - Gnanam
Likely because it is "not really" Java specific. If you have a C# example you should be able to just rewrite it ... - Angel O'Sphere
@Angel: But I don't think we can just rewrite in this case. You'll understand this if you check the sample code given for C# in above link. - Gnanam
No, 3-Legged OAuth requires you to get a 1) request token, then 2) authorized request token then 3) access token. 2-legged OAuth requires you to get 1) request token and then 2) access token. After all, you need an access Token to do API calls. - Buhake Sindi

1 Answers

0
votes

Before you get too far, I want to make sure that you know that the Job Posting API is a closed program that requires you to contact LinkedIn, meet certain criteria, and sign an API amendment.

http://developer.linkedin.com/community/jobs

Assuming you are good there, here is sample code showing how to make LinkedIn API calls in Java using Scribe. You should be able to take that along with the C# code and get what you need without too much difficulty.

http://developer.linkedin.com/message/4568#4568