How to list user statuses through fb api call
===

I'm trying to list the user's status updates through an api call, but I think my whole code is wrong as a whole. Nothing is working. There is a login buttong but it doesn't even work.

Here is my code and thanks for your help in advance :)

    <html>
    <head>
    <title>Testing</title>
    </head>
    <body>

    <div id="fb-root"></div>
    <script>+
    window.fbAsyncInit = function() {
    FB.init({
    appId : 'x', // App ID
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml : true // parse XFBML
    });
    };
    // Load the SDK Asynchronously
    (function(d){
    var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
    if (d.getElementById(id)) {return;}

    js = d.createElement('script'); js.id = id; js.async = true;
    js.src = "//connect.facebook.net/en_US/all.js";
    ref.parentNode.insertBefore(js, ref);
    }(document));

    FB.login(function(response) {
      console.log(response);
      if (response.status=="connected") {
        console.log("You're logged in");
    
        FB.api('/me', function(response) {
           alert(response.name);
          }); 
      } 
    });

    </script>

    <div class="fb-login-button" scope="user_status">
    Login with Facebook
    </div>

    </body>
    </html>

