根据文档,我正确地遵循了所有内容,但我不断收到以下错误:
<!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>
答案 0 :(得分:1)
为什么链接指向gmail.com?您必须提供Lync Server地址以发现Lync服务
答案 1 :(得分:0)
您似乎正尝试使用Gmail帐户登录Skype for Business。这是不受支持的。