如何在iPhone SDK中使用LinkedIn API? [英] How to use LinkedIn API in iPhone SDK?

查看:93
本文介绍了如何在iPhone SDK中使用LinkedIn API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在项目中使用 LinkedIn API,但是我没有找到任何有关使用LinkedIn API的优秀教程.如何使用LinkedIn API?

基本概念"的初学者指南/简介"会有所帮助.

好,在四处搜寻之后,我转到了此链接 LinkedInAPI .

我填写了表格,但无法理解集成URL"(集成将在其中进行示例的URL).

因为我想在本机iPhone应用程序中使用LinkedIn,而不是在任何网站上使用?

因此,在获取密钥后,如何使用这些密钥以及如何对用户进行身份验证并获取一些个人资料信息,并像其他所有内容一样发布状态?

我知道要进行身份验证,有一个Objective-C包装器MPOAuthMobile.我也下载了该文件,但无法理解.这个笨拙的API使用什么?

解决方案

我无法找到一个稳定的库/代码示例来帮助我从本地iOS应用程序访问LinkedIn API.

这就是为什么我创建这个小库并将其发布在github上的原因: https://github.com/jeyben /IOSLinkedInAPI

如果您有兴趣,该库也可以作为cocoapod提供: http://cocoapods.org/?q=IOSLinkedInAPI

IOSLinkedInAPI使用OAuth2并帮助您获取实际调用LinkedIn Rest API所需的accessToken.

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?

解决方案

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.

这篇关于如何在iPhone SDK中使用LinkedIn API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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