[英]Linked In share button returns wrong URL
I have the flowing LinkedIn share button: 我有流动的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>
Instead of sharing the page I get the "It's not you, it's us" message. 我没有分享页面,而是得到“不是你,是我们”消息。
The URL is https://www.linkedin.com/shareArticle/?mini=true&url=&text=Description here
. 该URL是
https://www.linkedin.com/shareArticle/?mini=true&url=&text=Description here
。
By comparison, this Facebook sharer does work : 相比之下,此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>
What is missing from the LinkedIn share button? LinkedIn共享按钮中缺少什么?
The error message says it: It's not you, It's us. 错误消息说: 不是你,是我们。 This error is pretty common when there is a problem from the server's end.
当服务器端出现问题时,此错误非常常见。
It means there is no mistake from your side that is causing this error. 这意味着没有错误引起您的错误。 The error happened due to some technical issues at server side from linkedIn.
发生此错误是由于来自LinkedIn服务器端的一些技术问题。
So, technically you have nothing but to wait untill this issue is solved from linkedIn's end. 因此,从技术上讲,您只需要等到LinkedIn端解决此问题即可。
It means that LinkedIn does not support the URL you created. 这意味着LinkedIn不支持您创建的URL。 They either can't or won't support the link that shares the article.
他们不支持或不支持共享文章的链接。
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 https://www.quora.com/What-can-be-the-reason-for-the-message-%E2%80%9CIt%E2%80%99s-not-you-It%E2%80%99s我们提供了另一种尝试,请从LinkedIn上获得%E2%80%9D,是否意味着I%E2%80%99m被LinkedIn阻止
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.