[英]Microsoft Teams app - link unfurling working on web but not desktop or mobile Teams apps
I have created an MS teams bot and app to unfurl public and private links pointing to our web site.我创建了一个 MS 团队机器人和应用程序来展开指向我们的 web 站点的公共和私有链接。
Links are unfurled correctly when using the Teams web app.使用 Teams web 应用程序时,链接会正确展开。 However when using the Windows or Mac desktop apps, or the Android or iOS mobile apps, no link unfurling happens.
但是,当使用 Windows 或 Mac 桌面应用程序,或 Android 或 iOS 移动应用程序时,不会发生链接展开。
Having debugged the Mac desktop app I can see that no call is made to https://uk.ng.msg.teams.microsoft.com/v1/agents/28:<our-bot-id>/invoke
to get the unfurled link data from our bot.调试了 Mac 桌面应用程序后,我可以看到没有调用
https://uk.ng.msg.teams.microsoft.com/v1/agents/28:<our-bot-id>/invoke
来展开链接我们机器人的数据。
Is there additional configuration that is required for our bot and app to be triggered in Teams platforms other than web?要在 web 以外的 Teams 平台中触发我们的机器人和应用程序,是否需要其他配置?
As per comments above, I think what's happening is that Teams is trying to "pre-validate" these links on the user's behalf, so to speak.根据上面的评论,我认为正在发生的事情是团队正试图代表用户“预验证”这些链接,可以这么说。 In the browser context, where the user is authenticated, everything is fine, but in the desktop/mobile experience, the user is not authenticated to the backend systems, so the unfurling can't function.
在对用户进行身份验证的浏览器上下文中,一切都很好,但在桌面/移动体验中,用户未通过后端系统的身份验证,因此展开无法 function。
I've not tried this myself, so can't provide much guidance, but it looks like there's a solution to writing your own "unfurler", so to speak.我自己没有尝试过,所以无法提供太多指导,但看起来有一个解决方案可以编写自己的“展开器”,可以这么说。 See here .
见这里。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.