0

I am trying to authenticate user using linkedin in a flutter application, for that i'm using linkedin_login package from PUB. By using this package i'm calling this constructor LinkedInUserWidget() and passing all necessary arguments and it returns me a access token and now i want to fetch r_basicprofile data of user using the return access token by hitting either this api https://api.linkedin.com/v2/userInfo or https://api.linkedin.com/v2/me

but everytime when i'm hitting these api then getting response status 403 Failed to fetch profile data: {"status":403,"serviceErrorCode":100,"code":"ACCESS_DENIED","message":"Not enough permissions to access: me.GET.NO_VERSION"}

anyone can explain how can i fetch r_basicprofile user data ? I've created developer account on linkedin and have access for both r_liteprofile as well as r_basicprofile.

thanks.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Apr 3 at 0:33

1 Answer 1

0

It seems to have changed. I used the following scopes: 'w_member_social profile openid email r_organization_socia', Try it out

Sign up to request clarification or add additional context in comments.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.