Error using Shareeded button

I am trying to add a ShareedIn button for our content oriented website. I created the embed code using the button builder , but whenever I try to use a button, I get a general error:

Failed to complete this action, please try again later.

This has been done for several days (since I first added the code), so I don’t know if the error was on LinkedIn or mine. Is there a way to get a more specific error message? The code they provide is a script tag that you insert:

<script src="http://platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/Share"></script>

Unfortunately, LinkedIn support forums are limited to various APIs; there is no way to ask a question about the functionality of the built-in button. I hope someone else has used this feature and can point me in the right direction.

+3
source share
5 answers

Most likely, the page you are trying to use is not accessible on the Internet (local, with htaccess password or something else). It seems to me that LinkedIn is actually trying to view the page you are sharing, and if it cannot reach it, it gives you this message.

+3
source

Most likely the URL you are using is not encoded , try to encode it, also follow this article for more.

0

sharein share -

<!DOCTYPE html>

.

0
source

I found this way to check in xhtml:

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">

< script src="http://platform.linkedin.com/in.js" type="text/javascript">< /script>

< div id="linkedin">< /div>

< script type="text/javascript">
var po2 = document.createElement('script');     
po2.type = 'IN/MemberProfile';     
po2.setAttribute("data-id","http://www.linkedin.com/pub/luca-di-lenardo/11/4b7/3b8");    
po2.setAttribute("data-format","hover");    
po2.setAttribute("data-text","Luca Di Lenardo");    
document.getElementById("linkedin").appendChild(po2);       
< /script>

Remove the empty space and it will work!

0
source

look at attrbute-url. Remove "http: //" and use only "www". for your website. This at least fixed my problem.

0
source

All Articles