簡體   English   中英

對於網站如何在Instagram的html javascript中使Custom Share Button代碼像Pinterest一樣

[英]For website How to make Custom Share Button code in html javascript for Instagram same like Pinterest

網站:如何使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>

現在,任何人都請告訴我,Instagram的自定義自動共享按鈕上方的JavaScript代碼類型相同。

謝謝

Instagram目前沒有API或無法從應用程序外部發布。 因此,不幸的是,目前沒有自定義JavaScript代碼可以執行此操作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM