bradvin / social-share-urls

Social Share URLs
BSD 3-Clause "New" or "Revised" License
2.78k stars 304 forks source link

LinkedIn Stopped supporting the share url ? #646

Closed austriker27 closed 4 years ago

austriker27 commented 4 years ago

From the research I've done, it would appear LinkedIn no longer supports the sharing URL and requires Oauth and POST request to generate a post.

Here's their docs: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin

austriker27 commented 4 years ago

Follow up - in my testing the linkedin sharing URL does work as of right now however Im not sure when it will be deprecated as the LinkedIn docs dont mention it.

HoldOffHunger commented 4 years ago

Ah, interesting! It seems that actually they now only support the URL parameter, not that the service is down entirely.

https://www.linkedin.com/shareArticle?mini=true&url=google.com&title=111&summary=COOOOOOL!!!!!!!!!!!!

This redirects me automatically to: https://www.linkedin.com/sharing/share-offsite/?url=google.com

Sure, I am already logged in, and generating Oauth post tokens isn't necessary, but, I think that is how most people intend to use social sharing.

But -- I will update the documentation to indicate that only the URL param seems to reflect anything. This seems reasonable, yes?

HoldOffHunger commented 4 years ago

Okay, just pushed a fix for the linkedin change that now only supports the URL param! Thanks for letting us know!