【发布时间】:2015-10-28 06:59:29
【问题描述】:
我创建了一个 Web 应用程序,我尝试使用 URL 从他/她的 LinkedIn 个人资料中获取用户的推荐
当我在 Api Explorer 它工作正常。并给出输出:-
{ "recommendationsReceived": {
"_total": 2,
"values": [
{
"id": 558598601,
"recommendationText": "xxx is among the best team players I ever worked with. He has handled client effectively with smooth operations. I had always seen him as person with solution mindset and always look for solution rather than thinking about the problem. ",
"recommendationType": {
"code": "colleague"
},
"recommender": {
"firstName": "XXX",
"id": "YYYY",
"lastName": "XXX"
}
},
{
"id": ZZZZ,
"recommendationText": "XXX is one of the most dedicated person at work.I always him with a flexible attitude and ready to adapt himself in all situation.I have seen him work all night to catch up all the deadlines and deliver on time ."
"recommendationType": {
"code": "colleague"
},
"recommender": {
"firstName": "XXX",
"id": "YYYY",
"lastName": "XXXX"
}
}
] } }
问题来了,当我在我的开发者应用程序中使用这个 URL 时。它不会给出任何错误,只是简单地返回一个空地图 [:] 作为响应的输出强>
无论这些推荐字段如何,我都成功获得了用户基本个人资料数据,例如电子邮件、id、图像、名字、姓氏。意味着我的代码适用于其他字段,但不适用于这些推荐 字段*
为了找到解决方案,我上网并找到了 Linked API 文档的链接
根据文档,选择配置文件字段后仅可用 对已申请并获得批准的申请 领英计划: 推荐字段
我已经创建了一个 LinkedIn 开发者帐户来获取密钥和秘密 那么我如何申请并获得通过 LinkedIn 推荐字段申请的批准。 我已经看过 LinkedIn 支持,但找不到向 Linked Developer 帮助支持提问的方法
请给我正确的建议。
【问题讨论】:
标签: grails oauth oauth-2.0 linkedin linkedin-api