不可能使用这个SDK有可能是它的SDK不稳定? [英] Impossible to use this SDK is it possible that its unstable SDK?

查看:110
本文介绍了不可能使用这个SDK有可能是它的SDK不稳定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据文档,我正确地执行了一切,但我一直得到以下错误:

p>

 <!doctype html> 
< html>
< head>
< title>我的Skype Web SDK应用程序< / title>
< script src =https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js>< / script>
< / head>
< body>
< script>
Skype.initialize({apiKey:'a42fcebd-5b43-4b89-a065-74450fb91255'},api => {
var app = new api.application;
app.signInManager.signIn ({
username:'sdfsfsfdsfsdf',// USE VALID username
password:'xxx'// USE VALID password
})。then(()=> {
console.log(登录为,app.personsAndGroupsManager.mePerson.displayName());
},err => {
console.log(无法登录,错误);
});
},err => {
console.log(can not load the sdk package,err);
});
< / script>
< / body>
< / html>


解决方案

为什么链接指向gmail.com?您必须提供用于发现Lync服务的Lync Server地址

According to the documentation, I followed everything correctly, but I keep getting this following error:

<!doctype html>
<html>
<head>
  <title>My Skype Web SDK app</title>
  <script src="https://swx.cdn.skype.com/shared/v/1.2.15/SkypeBootstrap.min.js"></script>
</head>
<body>
  <script>
    Skype.initialize({ apiKey: 'a42fcebd-5b43-4b89-a065-74450fb91255' }, api => {
      var app = new api.application;
      app.signInManager.signIn ({
        username: 'sdfsfsfdsfsdf', //USE VALID username
        password: 'xxx'  // USE VALID password
      }).then(() => {
        console.log("signed in as", app.personsAndGroupsManager.mePerson.displayName());
      }, err => {
        console.log("cannot sign in", err);
      });
    }, err => {
      console.log("cannot load the sdk package", err);
    });
  </script>
</body>
</html>

解决方案

Why does the link points to gmail.com ? You have to provide the Lync Server address for discovery of Lync service

这篇关于不可能使用这个SDK有可能是它的SDK不稳定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆