javascript - Skype SDK entry point to sign in a user error: NoFQDN -
i'am trying sign skype via use of sdk keep hitting following error, "error: nofqdn". after searching on net can't find possible solution or find out error means. can shed light on or point me towards useful sources? appreciated, thanks.
this javascript i'm using try , log skype with.
/** * script demonstrates how sign user in , how sign out. */ $j(function () { 'use strict'; // create instance of application object; // note, different instances of application may // represent different users var application var client; skype.initialize({ apikey: 'swx-build-sdk', }, function (api) { application = api.application; client = new application(); }, function (err) { alert('some error occurred: ' + err); }); // when user clicks on "sign in" button $j('#signin').click(function () { // start signing in client.signinmanager.signin({ username: $j('#username').text(), password: $j('#password').text() }).then( //onsuccess callback function () { // when sign in operation succeeds display user name alert('signed in ' + client.personsandgroupsmanager.meperson.displayname()); }, //onfailure callback function (error) { // if goes wrong in either of steps above, // display error message alert(error || 'cannot sign in'); }); }); // when user clicks on "sign out" button $j('#signout').click(function () { // start signing out client.signinmanager.signout() .then( //onsuccess callback function () { // , report success alert('signed out'); }, //onfailure callback function (error) { // or failure alert(error || 'cannot sign in'); }); }); // whenever state changes, display value client.signinmanager.state.changed(function (state) { $j('#application_state').text(state); }); });
can see problem this?
after digging it: error message getting pointing out sign in parameters (user, password) "null"/undefined.
setting values other "null"/undefined login started. note looking @ javascript code, hardcoded check.
Comments
Post a Comment