iphone - 来 self 的 native iPhone 应用程序的 linkedin 连接

标签 iphone linkedin-api

大家好,我是 iPhone 开发新手,我想从我的 native iPhone 应用程序连接到 linkedin,我目前不知道如何连接到它,请指导我该怎么做

最佳答案

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

Yes you can get connected with Linedin withyour Native Application by following simple steps:

  1. You get an API key from LinkedIn. This is also called a Consumer Key in OAuth terminology.
  2. You build a feature into your site that leverages the user's LinkedIn network.
  3. Your user clicks on your UI to request to use that feature.
  4. You make a call to LinkedIn to ask to use our authentication. This is called getting a Request Token.
  5. LinkedIn replies with an OAuth Token indicating that you can use the authentication system.
  6. You send your user to a LinkedIn URL. That URL includes the OAuth Token you got and a few other parameters such as a URL for LinkedIn to return the user to after granting access.
  7. The user grants access to your application by signing into that page.
  8. Upon successful signon, LinkedIn will return the user to your site.
  9. You will then make a call to LinkedIn to get an Access Token.
  10. LinkedIn replies with an Access Token for the user. You use that Access Token for any API calls to LinkedIn to identify the user on whose behalf you are making the call.

或者

从这里下载代码,即可获得。只需提供您的 API Key 和 Secrete Key

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

或查看此了解详细信息:

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

关于iphone - 来 self 的 native iPhone 应用程序的 linkedin 连接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2809036/

相关文章:

android - 如何正确实现linkedIn登录?

node.js - 如何将媒体放在 https ://api. linkedin.com/mediaUpload/with NodeJs

ios - 如何在iOS中获取Linkedin访问 token 来调用API?

ios - 在导航栏上添加自定义后退按钮

ios - 为什么我的预览图层没有覆盖整个 View ?

iPhone:如何与外部设备通信?

ios - 如何在不发布App的情况下在App Store中打开我的App进行更新

django - 无法让 Linkedin 身份验证与 django-social-auth 一起使用

oauth-2.0 - Linkedin OAuth2.0 : How to configure OAuth 2. 0 使用 Multi-Tenancy 应用程序的通配符子域 URL 重定向 URL

iphone - 带有 Xcode 4.2 的 Interface Builder 中的 UIApplicationDelegate