How to get MSN contact list using JavaScript?
<p>I'm trying to get the MSN contact list using JavaScript but it is not working. Any ideas? </p>

<p>Here is my code:</p>

<pre><code>WL.init({
   client_id: APP_CLIENT_ID,
   client_secret:CLIENT_SECRET,
   redirect_uri: REDIRECT_URL,
   scope: "wl.signin",
   response_type: "token"
 });

function get_msn_contact(){

   WL.login({
       scope: ["wl.basic", "wl.contacts_emails"]
   }).then(function (response){
       WL.api({
          path: "me/contacts",
                method: "GET"
          }).then(
             function (response) {
                alert(response.toSoruce());
                //your response data with contacts 
                console.log(response.data);
             },
             function (responseFailed) {
                console.log(responseFailed);
             }
         );

        },
        function (responseFailed) 
        {
            console.log("Error signing in: " + responseFailed.error_description);
        });
} 
</code></pre>