How to use LinkedIn API in iPhone SDK?

Rahul Vyas picture Rahul Vyas · Feb 27, 2010 · Viewed 18.4k times · Source

I want to use the LinkedIn API in my project, but I haven't found any good tutorials about using LinkedIn API. How to use LinkedIn API?

"A beginners guide/introduction" of "basic concepts" would be helpful.

OK, after googleing around I went to this link LinkedInAPI.

I filled in the form but I am unable to understand what the "Integration URL" (Example URL where the integration will go live.)

Because I want to use LinkedIn in native iPhone application not on any website?

So after getting keys how do I use those keys and how do I authenticate user and get some profile info,post status like all the things?

I know for authentication there is an Objective-C wrapper MPOAuthMobile. I have also downloaded that but unable to understand. What this cumbersome API uses?

Answer

jeyben picture jeyben · May 17, 2013

I haven't been able to find a stable library/code-example that helped me get access to the LinkedIn api from a native iOS application.

That´s why I created this small library and published it at github: https://github.com/jeyben/IOSLinkedInAPI

The library is also available as a cocoapod if you are interested: http://cocoapods.org/?q=IOSLinkedInAPI

IOSLinkedInAPI uses OAuth2 and helps you get an accessToken which is needed to actually call the LinkedIn Rest API.