2016-09-29 43 views
0

網站:如何使Instagram的自定義分享按鈕代碼像Pinterest一樣?對於網站如何使自定義共享按鈕代碼在HTML的Instagram的Instagram相同像Pinterest

我正在使用以下自定義代碼/腳本的Pinterest和它的工作完美! ,它會自動將您的網站照片分享給訪客Pinterest帳戶。現在

<a href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());'>Pin</a> 

誰能告訴我JavaScript代碼相同類型上面的Instagram自定義自動分享按鈕。

感謝

+1

可能這裏是答案:http://stackoverflow.com/questions/30542054/does-instagram-have-share-button-or-not –

回答

0

的Instagram沒有一個API,還是要由應用程序外張貼在這一點上。很遺憾,現在沒有自定義的JavaScript代碼來執行此操作。

相關問題