Skip to content

FIX: Deprecated /me API#57

Open
Robert-K wants to merge 1 commit intolinkedin-developers:mainfrom
Robert-K:patch-1
Open

FIX: Deprecated /me API#57
Robert-K wants to merge 1 commit intolinkedin-developers:mainfrom
Robert-K:patch-1

Conversation

@Robert-K
Copy link
Copy Markdown

@Robert-K Robert-K commented Apr 5, 2024

As mentioned in #49
Use the new /userinfo API
Updated the comment hint

As mentioned in linkedin-developers#49 
Use the new /userinfo API
Updated the comment hint
Copy link
Copy Markdown

@ZLeventer ZLeventer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The /me endpoint deprecation is a real issue — LinkedIn moved profile data to /userinfo (OpenID Connect) and /v2/me has been returning 403s for apps created after a certain date.

I addressed this in the examples in PR #73 (updated to use /userinfo and /posts endpoints). If this PR touches the core client rather than just examples, it would be complementary — one fixes the library internals, the other fixes the example code that users copy-paste.

Worth noting: the replacement endpoint requires the openid and profile scopes instead of r_liteprofile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants