Swift 2 OAuth2 LinkedIn连接 [英] Swift 2 OAuth2 LinkedIn connection

查看:83
本文介绍了Swift 2 OAuth2 LinkedIn连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要使用Swift 2和Xcode 7制作本机iOS应用程序.用户应该使用LinkedIn和OAuth 2登录,但是我想知道如何开始设置它.我对OAuth 2经验不足.

I'm gonna make an native iOS app with Swift 2 and Xcode 7. The users should login using LinkedIn and OAuth 2 but I'm wondering how I should begin to set this up. I don't have many experience with OAuth 2.

是否有一个很好的教程或示例应用程序?我看到了Ray Wenderlich 帖子,但这是一个现有项目随附的.我想从头开始使用LinkedIn登录来构建应用.

Is there a good tutorial or a sample app? I saw the Ray Wenderlich post but that comes with an existing project. I want to build an app with LinkedIn login from scratch.

编辑

我想使用LinkedIn登录来获取用户的连接并向他们发送通知.我正在研究这个问题,发现一些页面说无法从新的LinkedIn API检索连接,这是真的吗?在本机iOS应用程序中无法从LinkedIn获得某人的联系吗?

I want to use the LinkedIn login to get the user's connections and send them notifications. I was researching this and I found some pages that said that connections can't be retrieved from the new LinkedIn API, is this true? It is not possible to get someone's connections from LinkedIn in a native iOS applications?

推荐答案

您应该从LinkedIn 指南开始,对于LinkedIn和OAuth 2. 但是,如果您仍需要使用OAuth 2进行身份验证的示例,请在此处.

You should start with LinkedIn guide for LinkedIn and OAuth 2 . But still if you need a sample for Authentication with OAuth 2 here it is .

对于与连接有关的第二个问题,链接"已进行了更改,但该API仍然可用,但适用于合作伙伴.

For your second question related to the connection yes Linked have made changes but the API is still available but for the partners .

如果您是现有的LinkedIn合作伙伴,这些更改将不会影响您现有的合作伙伴关系或您的合作伙伴关系允许您访问的关联API.
如果您由于5月12日的变更而遇到问题,请立即与您的LinkedIn业务发展代表联系.

If you are an existing LinkedIn partner, these changes will not impact your existing partnership or the associated APIs that your partnership allows you to access.
If you are experiencing issues as a result of the May 12th changes, please reach out to your LinkedIn Business Development representative immediately.

有关更多详细信息,请参见开发人员计划转换指南.

For further details you can see Developer Program Transition Guide.

这篇关于Swift 2 OAuth2 LinkedIn连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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