none
Live SDK Metro 0x80860003 authentication tokens problem RRS feed

  • 问题

  • Hi all,

    I develop calendar with live sdk in metro, using javascript, when i login in, it then pop follow error:

    0x80860003 - JavaScript runtime error: The application requesting authentication tokens is either disabled or incorrectly configured.

    I don't why?

    this is my code:

    var App_Client_ID = "00000000480D266C";
            function onReadCalendar() {
                WL.init({
                    client_id: App_Client_ID,
                    access_token: "ACCESS_TOKEN",
                });
                WL.login({
                    scope: "wl.calendars"
                }).then(
                    function (response) {
                        WL.api({
                            path: "calendar.a6b2a7e8f2515e5e.c46e5429f0c6451cb469f622b260fa1c",
                            method: "GET"
                        }).then(
                            function (response) {
                                document.getElementById("resultDiv").innerHTML =
                                    "ID: " + response.id +
                                    "<br/>Name: " + response.name;
                            },
                            function (responseFailed) {
                                document.getElementById("infoArea").innerText =
                                    "Error calling API: " + responseFailed.error.message;
                            }
                        );
                    },
                    function (responseFailed) {
                        document.getElementById("infoArea").innerText =
                            "Error signing in: " + responseFailed.error_description;
                    }
                );
            }

    2012年8月29日 6:53

答案