Impossible to use this SDK is it possible that its unstable SDK?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 15:50:52

问题


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>

回答1:


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




回答2:


Looks like you are trying to sign in with a gmail account into Skype for Business. This isn't supported.



来源:https://stackoverflow.com/questions/40080892/impossible-to-use-this-sdk-is-it-possible-that-its-unstable-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!