jean d'arme
jean d'arme

Reputation: 4343

LinkedIn sharing doesn't work as expected

I'm looking for an easy way to share through LinkedIn without all that hassle with OAuth 2.0 which I don't see required when I see other pages that use this kind of sharing (and they didn't required anything from - I can straight out share).

Straight to the issue:

Seems like beyond main domain I can't get sharing working. For instance from other site a link that goes deeper and is still shareable: https://www.linkedin.com/shareArticle?mini=true&url=https://bulldogjob.pl/companies/jobs/2043-programista-java-warszawa-bms-sp-z-o-o&title=Programista+Java&summary=&source=https://bulldogjob.pl

I also tested with and without source and summary query params. Anyone had that issue?

Upvotes: 1

Views: 1442

Answers (2)

HoldOffHunger
HoldOffHunger

Reputation: 20881

I decoded your URL so I could get a cleaner look...

https://www.linkedin.com/sharing/share-offsite/?url=https://refair.me/job/494

So, let's try to visit your URL: https://refair.me/job/494 . The webpage you are sharing DOES NOT LOAD.

Is your site down for everyone? Yes, your site is down for everyone.

In order to share a URL on LinkedIn, you must fulfill the following minimum requirements:

  • The URL must load.

If you just want to test out the API, try using wikipedia.org or google.com as test pages.

Surprisingly, the old refair.me URL by itself works fine in LinkedIn, but that could be from some internal cache, from way back in the day when the page once did work. It certainly does not do so anymore.

Upvotes: 0

Christopher Ou
Christopher Ou

Reputation: 584

LinkedIn uses the Open Graph protocol (http://ogp.me/) to determine how pages are shared in LinkedIn.

You may also use the LinkedIn Post Inspector (https://www.linkedin.com/post-inspector/) tool to debug how various pages would be shared in LinkedIn.

Upvotes: 2

Related Questions