javascript - Twitter pin it button, not adding description to pin -
i trying use pin it/save button pinterest. have tried both href way specify full path link including image url, media url , description. using javascript approach part of pintrest javascript files. looks good, see description being sent part of url when save pin not attach description. here urls navigating to.
as can see description part of url. if follow url see image similar 1 below.
however when try saving pin, description not show on board add image to. can see on image description present well.
below javascript code using...
pinutils.pinone({ 'url': url, 'media': media, 'description': description }); this html element approach has same result...
<a target="_blank" class="pinit" data-pin-do="buttonpin" data-pin-save="true"' + ' href="https://www.pinterest.com/pin/create/button/?url=' + protocal + '//' + domain + window.location.pathname + '&media=' + protocal + '//' + domain + '/' + src.substring(3) + '&description=' + category + ' - ' + subcategory + ' | ' + title + '">' + '<img width="50px" class="pinitbutton" src="../assets/img/pinit.png"/></a> i noticed previous testing had done on same site attaching descriptions no longer is.
has ran issue before? appreciated! thanks!
Comments
Post a Comment