根据文档,我正确地遵循了所有内容,但我不断收到以下错误:
<!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>
最佳答案
您似乎正在尝试使用 Gmail 帐户登录 Skype for Business。不支持此功能。
关于javascript - 这个SDK无法使用,难道是它的SDK不稳定?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40080892/