KakaoStory Share Button

You can create a share button for users to share your cool website to KakaoStory. Try clicking it!

<script> window.kakaoAsyncInit = function () { Kakao.Story.createShareButton({ container: '#kakaostory-share-button' }); }; (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//developers.kakao.com/sdk/js/kakao.story.min.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'kakao-js-sdk')); </script>
<div id="kakaostory-share-button" data-url="#url#"></div>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width"/> <title>KakaoStory Share Button Demo - Kakao JavaScript SDK</title> <script src="//developers.kakao.com/sdk/js/kakao.min.js"></script> </head> <body> <div id="kakaostory-share-button"></div> <script type='text/javascript'> //<![CDATA[ // Set JavaScript Key of current app. Kakao.init('YOUR APP KEY'); // Create KakaoStory share button. Kakao.Story.createShareButton({ container: '#kakaostory-share-button', url: 'https://dev.kakao.com', text: '카카오 개발자 사이트로 놀러오세요! #개발자 #카카오 :)' }); //]]> </script> </body> </html>