如何使用omniauth-linkedin gem获取LinkedIn API的连接摘要 [英] How to get summary of connections for LinkedIn API using omniauth-linkedin gem

查看:113
本文介绍了如何使用omniauth-linkedin gem获取LinkedIn API的连接摘要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用omniauth-linkedin gem来获得连接摘要

I was trying to get summary of connections using omniauth-linkedin gem

这是同一配置的详细信息

here is the configuration details on the same

:scope => 'r_fullprofile r_basicprofile r_emailaddress r_network', 
:fields => ["id", "summary","positions", "location:(name)", "email-address", "first-name", "last-name", "headline", "industry", "connections:(headline,first-name,last-name,summary,interests,skills,educations)"]

但是Linkedin API仅返回标题firstnamelastname.

But Linkedin API returning only headline, firstname and lastname .

反正我可以得到详细信息吗?

Is there anyway I can get details ?

推荐答案

请阅读Connections API的文档. 如文档中 所述:

Please read the documentation for the Connections API. As is stated in the documentation:

对于一级连接,您只能检索具有r_basicprofile成员权限的可用配置文件字段"

"For 1st degree connections, you may only retrieve profile fields available with the r_basicprofile member permission"

使用r_basicprofile权限无法获得兴趣,技能和教育.

interests, skills and educations are not available with the r_basicprofile permissions.

具有r_basicprofile权限的摘要字段可用,但文档说明

The summary field is available with the r_basicprofile permission, but the documentation notes

无法通过连接API使用."

"Not available via connections API."

这就是为什么在拨打您提供的电话时无法获得这些字段的原因.

This is why you are unable to get these fields when you make the call you provided.

这篇关于如何使用omniauth-linkedin gem获取LinkedIn API的连接摘要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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