5

I'm working the linkedin API.

After following the documentation, I 'm getting the access Token.

Then, I'm trying to get the logged in user data, but I have this error :

Not enough permissions to access: GET /me

I'm using this URL : https://api.linkedin.com/v2/me

And this as a scope : r_basicprofile

In my app, I have this list of permissions :

enter image description here

As you can see, i normally have access to r_basicprofile

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Projet Sin
  • 337
  • 8
  • 20

1 Answers1

8

Recently LinkedIn stopped all developer access of r_basicprofile.

You need to authorize with r_liteprofile then GET https://api.linkedin.com/v2/me will return result.

Follow Login with LinkedIn

Also Now OAuth 2.0 login is need. Process is explained in Login with LinedIn link ablove.

Randheer
  • 984
  • 6
  • 24
  • The **lite** will send less data than needed I believe. But thanks for the info. I'll ask for being certified by Linked my app, then I think I will be able to do what I need to do :) – Projet Sin Feb 05 '19 at 14:41
  • Yes, You need to apply for LinkedIn Partner Program for r_basicprofile permission. – Randheer Feb 06 '19 at 18:02
  • 1
    In this specific example shown above, the original poster shows that he/she has permission for "r_basicprofile". Linkedin's documentation says that the authorization code should be requested via "r_liteprofile". Ok. so thats fine - initially the poster sends request via "r_liteprofile". But after that, shouldn't the poster be able get information under "r_basicprofile"? The screenshot shows the user has access to basic profile right? Also, i don't think you have to apply for "r_basicprofile". you need to apply for "r_fullprofile". – LAlearner May 15 '19 at 18:03