![](/img/trans.png)
[英]How can I render several objects of the same class in React? (like Instagram, Facebook or 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('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());'>Pin</a>
現在,任何人都請告訴我,Instagram的自定義自動共享按鈕上方的JavaScript代碼類型相同。
謝謝
Instagram目前沒有API或無法從應用程序外部發布。 因此,不幸的是,目前沒有自定義JavaScript代碼可以執行此操作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.