掲示板

Linkedin Share Button

thumbnail
10年前 に Syed Roshan によって更新されました。

Linkedin Share Button

New Member 投稿: 2 参加年月日: 13/05/29 最新の投稿
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
9年前 に Kannan M によって更新されました。

RE: Linkedin Share Button

New Member 投稿: 1 参加年月日: 15/03/29 最新の投稿
We too encountering similar issues. Any help would be appreciated.
6年前 に Harsh Kanakhara によって更新されました。

RE: Linkedin Share Button

Junior Member 投稿: 74 参加年月日: 17/04/06 最新の投稿
Did you get the solution ? I am facing the same issue for LinkedIn only.

Regards,
Harsh Kanakhara.