Created
January 24, 2021 15:22
-
-
Save karthicksivakumar191194/5c719dcf6cc4b037fc62f4156549fcf5 to your computer and use it in GitHub Desktop.
SnapChat Widget
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
//create a div with id | |
<div id="snap-chat"></div> | |
//include the script to render the widget | |
<script> | |
!function(e,n,c,s,t,a,o){e.SnapChatGlobalName="sc",e.sc=e.sc||function(){(e.sc.q=e.sc.q||[]).push(arguments)},e.sc.l=1*new Date,a=n.createElement(c),o=n.getElementsByTagName(c)[0],a.async=1,a.src="https://karthicksivakumar191194.github.io/snapchat/snapchat_bundle.js",o.parentNode.insertBefore(a,o)}(window,document,"script"); | |
sc("snap-chat"); | |
</script> | |
// sc("snap-chat"); | arg1 - HTML ID(required) | |
//Widget Demo | |
https://karthicksivakumar191194.github.io/snapchat/snapchat_demo.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment