Linkedin 分享按钮 returns 错误 URL

Linked In share button returns wrong URL

我有流畅的 LinkedIn 分享按钮:

<a href="#" onclick="window.open( 'http://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent('{{ .Permalink }}')+'&text='+encodeURIComponent('{{.Params.pageDescription}}'), 'sharer', 'width=626,height=436,top='+((screen.height - 436) / 2)+',left='+((screen.width - 626)/2 )); return false;" class="rounded-circle"><i class="fab fa-linkedin-in"></i></a>

我没有共享页面,而是收到 "It's not you, it's us" 消息。

URL 是 https://www.linkedin.com/shareArticle/?mini=true&url=&text=Description here

相比之下,这个 Facebook 分享器 确实有效

<a href="#" onclick="window.open( 'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent('{{ .Permalink }}') +'&title=' + encodeURIComponent('{{.Params.pageH1small}} - {{.Params.pageH1}}') + encodeURIComponent('{{.Params.pageDescription}}'), 'facebook-share-dialog', 'width=626,height=436,top='+((screen.height - 436) / 2)+',left='+((screen.width - 626)/2 )); return false;" class="rounded-circle"><i class="fab fa-facebook-f"></i></a>

LinkedIn 分享 按钮缺少什么?

错误消息说:不是你,是我们。 当服务器端出现问题时,此错误很常见。

这意味着您这边没有错误导致此错误。该错误是由于 linkedIn 服务器端的一些技术问题造成的。

因此,从技术上讲,您只能等到 linkedIn 解决此问题。

表示领英不支持您创建的URL。他们不能或不会支持分享文章的 link。

https://www.quora.com/What-can-be-the-reason-for-the-message-%E2%80%9CIt%E2%80%99s-not-you-It%E2%80%99s-us-Give-it-another-try-please%E2%80%9D-from-Linkedin-Does-it-mean-I%E2%80%99m-blocked-from-LinkedIn