LinkedIn API - 获取有关我所有连接的信息 [英] LinkedIn API - get information about my ALL Connections
问题描述
我使用过 Facebook API,但我是 Linkedin api 的新手.
I have used Facebook API but I am new to Linkedin api.
我需要一些关于如何获取有关我的 ALL Connections 的信息(姓名、生日等)的帮助,并且我需要有关令牌和信息相关 API 调用的帮助.
I need some help on how to get information (name, birthday, etc) about my ALL Connections, and I need help with both the token and the info-related API calls.
至于令牌——在 Facebook 中有 Facebook 控制台 用于在运行时生成令牌并测试我们的 API 调用... LinkedIn 有没有类似的东西?
As for the token -- in Facebook there is the Facebook Console to generate tokens at runtime and test our API calls... Does LinkedIn have something similar?
更新:我可以使用以下方法获取连接列表:
Update: I'm able to get list of connections using:
http://api.linkedin.com/v1/people/~/connections?modified=new
...但是我怎样才能获得生日(如果公开分享)?我已经尝试过:
... but how can I also get birthdates (if shared publicly)? I've attempted:
http://api.linkedin.com/v1/people/~/connections:(headline,first-name,last-name,date-of-birth)
...但是,这显示了我的名字和姓氏,而不是出生日期.
...however, that shows me the first and last name but NOT the date of birth.
推荐答案
你可以在这里使用 rest 控制台:http://developer.linkedin.com/rest-console
您可以使用一种名为获取我的连接"的模板方法.
There is a template method you can use called "Get My Connections".
我希望这会有所帮助.罢工>
I hope this helps.
更新:LinkedIn 限制了他们的开放 API 访问,这不再有效.
这篇关于LinkedIn API - 获取有关我所有连接的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!