Foros de discusión

Linkedin Share Button

thumbnail
Syed Roshan, modificado hace 10 años.

Linkedin Share Button

New Member Mensajes: 2 Fecha de incorporación: 29/05/13 Mensajes recientes
I wanted to share podcast images and description that is comming dynamically from RSS feed in to linkedin account ,i have added linkedin share button code to my site

this is code which i got from developer.linkedin.com

<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/Share" data-onsuccess="lnksuccess" data-onerror="error" data-url="<%=str %>" data-counter=""></script>


when i click on share button its only taking url of my site not images and description which i wanted to share... i tried using data-iamge tage along wid data-url but nothng is hapening..

this is my code where iam retrieving podcastImage and podcastDescription in an id tag in view.jsp

<img src="" id="podcastImage" style="width: 150px;height: 150px; padding:10px 10px 0 10px;" alt="Image not found" onError="this.onerror=null; this.src='<%=request.getContextPath()%>/html/images/NoImageIcon.jpg';"/>
<p id="podcastDescription" style="width: 150px; text-align:center;padding:0 10px; font-size:14px; float:left;"></p>

i dnt knw where i have to use that id inside the script tag provided by developer.linkedin.com

please help me
Kannan M, modificado hace 9 años.

RE: Linkedin Share Button

New Member Mensaje: 1 Fecha de incorporación: 29/03/15 Mensajes recientes
We too encountering similar issues. Any help would be appreciated.
Harsh Kanakhara, modificado hace 6 años.

RE: Linkedin Share Button

Junior Member Mensajes: 74 Fecha de incorporación: 6/04/17 Mensajes recientes
Did you get the solution ? I am facing the same issue for LinkedIn only.

Regards,
Harsh Kanakhara.