我需要知道用戶何時發佈我的博客內容,因爲我想在數據庫中註冊該活動,有什麼方法可以做到這一點?使用這樣一個簡單的按鈕?如何在用戶從我的網頁發佈帖子時運行活動?
<a href="https://twitter.com/share" class="twitter-share-button" data-show-count="false">Tweet</a><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
或者我該怎麼做?也許使用API的回調?
這看起來不錯,與Twitter的腳本集成:http://stackoverflow.com/questions/4947825/is-there-a-callback-for-twitters-tweet-button – yuriy636
我意識到它可以在第一個動作,但實際上我需要在第二次運行事件後,一旦鳴叫已經完成...我的意思是,當用戶點擊彈出的鳴叫按鈕 – kukiko11
這裏是答案:https://stackoverflow.com/questions/36305586/after-successful -tweet-execute-the-callback-twitter/47453295#47453295 –