TypeError:无法读取未定义的属性“ MS_APP_CLIENT_ID”

时间:2019-03-13 17:56:44

标签: skype skypedeveloper

我尝试使用https://dev.skype.com/webcontrol提供的代码,但是浏览器在控制台中显示“ TypeError:无法读取未定义的属性'MS_APP_CLIENT_ID'”,并且聊天未显示。

最有趣的是几天前我使用了相同的代码。因此问题可能出在https://swc.cdn.skype.com/sdk/v1/sdk.min.js

文档:https://dev.skype.com/webcontrol

用于复制问题的代码 有人问,我已经在data-bot-id中设置了Microsoft App ID

<html>
<body>
<div class="skype-button bubble " data-bot-id='YOUR_BOT_ID'></div>
<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>
</body>
</html>

enter image description here

0 个答案:

没有答案