Forums de discussion

Linkedin Share Button

thumbnail
Syed Roshan, modifié il y a 10 années.

Linkedin Share Button

New Member Publications: 2 Date d'inscription: 29/05/13 Publications récentes
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, modifié il y a 9 années.

RE: Linkedin Share Button

New Member Envoyer: 1 Date d'inscription: 29/03/15 Publications récentes
We too encountering similar issues. Any help would be appreciated.
Harsh Kanakhara, modifié il y a 6 années.

RE: Linkedin Share Button

Junior Member Publications: 74 Date d'inscription: 06/04/17 Publications récentes
Did you get the solution ? I am facing the same issue for LinkedIn only.

Regards,
Harsh Kanakhara.