New LinkedIn permissions: accessing past positions and educations using rails LinkedIn gem

一笑奈何 提交于 2019-12-05 22:05:23

Looks like you're granting r_fullprofile permissions to your application. That's the correct member permission. However, that will only grant you full profile fields to the authenticated user (of which the Position and Education fields are composed of). With your 1st and 2nd degree connections, you can only retrieve fields that Basic Profile fields (as part of the r_basicprofile member permission)

you need to add educations field along with scope so your fields will become something like

:fields => ["id", "email-address", "first-name", "last-name", "headline", 
        "industry", "picture-url", "public-profile-url", "location", "connections", "educations"]

for detail please see https://developer.linkedin.com/documents/profile-fields#educations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!