Created
June 26, 2018 09:18
-
-
Save mathiasmoeller/b0a494021aabf30db26d99551078ebaf to your computer and use it in GitHub Desktop.
How to integrate the STOMT Feed widget in your website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="stomt_feed"></div> <!-- place this where the feed should be --> | |
<script> | |
// Include the STOMT JavaScript SDK | |
(function(w, d, n, r, t, s){ | |
w.Stomt = w.Stomt||[]; | |
t = d.createElement(n); | |
s = d.getElementsByTagName(n)[0]; | |
t.async=1; | |
t.src=r; | |
s.parentNode.insertBefore(t,s); | |
})(window, document, 'script', 'https://www.stomt.com/widget.js'); | |
// Adjust the 'APP_ID' to your application id | |
// you can find it here: https://www.stomt.com/YOUR_PAGE/apps | |
Stomt.push(['addFeed', {appId: 'APP_ID'}]); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment