来自我的原生iphone应用程序的连接 [英] linkedin connectivity from my native iphone application

查看:90
本文介绍了来自我的原生iphone应用程序的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我在iphone开发中的新手我希望从我原生的iphone应用程序连接到linkedin我目前不知道如何连接到它请指导我怎么做呢

hello everyone i am new bie in iphone development i want to connect to linkedin from my native iphone application i am currently having no idea how to connect to it please guide me how could i do that

推荐答案

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


是的,你可以通过
以简单的步骤与你的本地应用程序联系Linedin:

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


  1. 你得到一个来自LinkedIn的API密钥。这也称为OAuth术语中的消费者密钥。

  2. 您在网站中构建了一个利用用户LinkedIn网络的功能。

  3. 您的用户点击在您的UI上请求使用该功能。

  4. 您打电话给LinkedIn以要求使用我们的身份验证。这称为获取请求令牌。

  5. LinkedIn使用OAuth令牌回复,表明您可以使用身份验证系统。

  6. 您将用户发送给LinkedIn网址。该网址包含您获得的OAuth令牌以及一些其他参数,例如LinkedIn的URL到
    ,在授予访问权限后返回用户。

  7. 用户授予对您的应用程序的访问权限登录该页面。

  8. 成功登录后,LinkedIn会将用户返回到您的网站。

  9. 然后您将拨打电话给LinkedIn获取访问令牌。

  10. LinkedIn使用访问令牌回复用户。您使用该访问令牌对LinkedIn的任何API调用来识别代表您正在拨打电话的
    用户。

  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密钥和秘密密钥

Download the Code from here,you could get it.Just Provide your API Key and Secrete Key

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

或者查看详情:

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

这篇关于来自我的原生iphone应用程序的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆