Linkedin connection from my native iphone app

Hi everyone, I am the new bie in iphone design. I want to connect to linkedin from my native iphone app. I currently don't know how to connect to it, please help me how can I do this.

+2


a source to share


2 answers


From http://www.zhangkf.com/2010/06/linkedin-developer-network-oauth-authentication/ :

Yes, you can connect to Linedin with your native app by following simple steps:

  • You get an API key from LinkedIn. This is also known as a consumer key in OAuth terminology.
  • You create a feature on your site that uses the user's LinkedIn network.
  • The user will click on your user interface to request the use of this feature.
  • You are calling LinkedIn to ask to use our authentication. This is called getting the request token.
  • LinkedIn responds with an OAuth token indicating that you can use the authentication system.
  • You send your user to the LinkedIn URL. This URL includes the OAuth token you received and a few other parameters, such as the URL for LinkedIn to return the user after granting access.
  • The user grants access to your application by subscribing to this page.
  • After successfully signing up, LinkedIn will return the user to your site.
  • Then you call LinkedIn to get the access token.
  • LinkedIn responds with an access token for the user. You use this access token for any LinkedIn API calls to identify the person you are calling on.

or

Download the code here, you can get it. Just provide your API key and secret key.



http://github.com/ResultsDirect/LinkedIn-iPhone

Or see this for details:

http://developer.linkedin.com/docs/DOC-1008

+4


a source


This example is 100% complete and works, just add the app key.

  • Built with latest XCode 4.01.
  • Uses UIWebView so you can customize the browser UI.
  • Uses JSON instead of XML , which is the preferred best practice for most cases.
  • OAuth is heavily documented, so you know what's going on.
  • Tested with iPhone 4, iPad 1 and iOS 4.x Simulator.


http://lee.hdgreetings.com/2011/03/iphone-oauth.html

+1


a source







All Articles