admin管理员组

文章数量:1402848

I am trying to have users authenticate their linkedin account so my AI chatbot can obtain their data and automatically generate resume for them.

I managed to make an API call to "; which just retrieves user's name and profile picture.

Can I know how do I get access to user's work or education history?

I tried calling this api "; but faced this error

"message": "Not enough permissions to access: me.GET.NO_VERSION"

It seems that linkedin have updated their api to limit acccess to user's profile data.

I have read that I'm required to join the LinkedIn Partner Program in order to obtain more detailed content, can I do that without a company? Are there any alternatives that does not impose certain fee?

This is for my school's assignment, would appreciate any advice.

I am trying to have users authenticate their linkedin account so my AI chatbot can obtain their data and automatically generate resume for them.

I managed to make an API call to "https://api.linkedin/v2/userinfo" which just retrieves user's name and profile picture.

Can I know how do I get access to user's work or education history?

I tried calling this api "https://api.linkedin/v2/me" but faced this error

"message": "Not enough permissions to access: me.GET.NO_VERSION"

It seems that linkedin have updated their api to limit acccess to user's profile data.

I have read that I'm required to join the LinkedIn Partner Program in order to obtain more detailed content, can I do that without a company? Are there any alternatives that does not impose certain fee?

This is for my school's assignment, would appreciate any advice.

Share Improve this question edited Mar 21 at 4:04 Jia Yee Chong asked Mar 21 at 4:02 Jia Yee ChongJia Yee Chong 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

to call this https://api.linkedin/v2/me endpoint you need to have access to r_liteprofile and r_basicprofile scopes as well to fulfill the requirements of OAuth2.0 3-legged service. when you obtain these scopes you will be able to call it.
This is the sample response you will get.

{
    "localizedLastName": "Name Sample",
    "profilePicture": {
        "displayImage": "urn:li:digitalmediaAsset:your image"
    },
    "firstName": {
        "localized": {
            "en_US": "Name Sample"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "vanityName": "your-profile-name-here",
    "lastName": {
        "localized": {
            "en_US": "Name"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "localizedHeadline": "Software Engineer | Application/ Web Developer | Azure | DevOps | .Net6| MVC | .NetCore | C# | PowerBI | Learning and Development",
    "id": "mI4fb3rFyK",
    "headline": {
        "localized": {
            "en_US": "Software Engineer | Application/ Web Developer | Azure | DevOps | .Net6| MVC | .NetCore | C# | PowerBI | Learning and Development"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "localizedFirstName": "Name"
}

However for the skills and experience API you need to register yourself for the Linkedin developer programs and the enpoint would be like this.
https://api.linkedin/v2/me/skills?projection=(elements*(id,name))

I hope it helps.

本文标签: how to retrieve user39s education and work experience using linkedin apiStack Overflow