Start developing on kakao platform now, with these easy to follow samples!

1.Register your app.

  1. Create new app Create App
  2. From Apps setting - general select add platform.
  3. select web platform, and register site domain. (예: http://localhost:8080)
  4. Copy or memorize JavaScript key from above.

2.Set your key in sample app

  1. Make above file in html.

    <!DOCTYPE html>
    <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>Login Demo - Kakao JavaScript SDK</title>
    <script src="//"></script>
    <a id="kakao-login-btn"></a>
    <a href=""></a>
    <script type='text/javascript'>
     // Set JavaScript Key of current app.
     Kakao.init('YOUR APP KEY');
     // Create Kakao Login button.
       container: '#kakao-login-btn',
       success: function(authObj) {
       fail: function(err) {
  2. Enter 'JavaScript key' in YOUR APP KEY which have been given at the first stage.

3.Launch App.

  1. Launch web server from registered domain(example: http://localhost:8080) and open above file.
    In a computer with Python installed, you can launch testing web server in the targeted folder and test as described.
    $ cd /path/to/your/folder/
    $ python -m SimpleHTTPServer 8080
  2. Open browser and access domain above.
  3. After logging in, you can check to see if OAuth2 access token has been received.

Check examples demo from above! Show demo

Last Modified : 2017-07-28