简体   繁体   English

Microsoft Teams 应用程序 - 在 web 但不适用于桌面或移动 Teams 应用程序的链接展开

[英]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.

相关问题 Microsoft Teams bot - 链接展开身份验证流程 - Microsoft Teams bot - link unfurling auth flow Microsoft Teams bot - 调试链接展开 - Microsoft Teams bot - debug link unfurling Microsoft Teams bot在模拟器和localhost上运行,但不是Teams App - Microsoft Teams bot working from emulator and localhost but not teams app justInTimeInstall 不适用于桌面团队会议中的 MessageExtension 应用程序 - justInTimeInstall not working for MessageExtension app in Meetings on Desktop Teams Microsoft Teams Apps 中的 SAML 支持 - SAML support in Microsoft Teams Apps 微软团队获取对话链接 - microsoft teams get conversation link Microsoft Teams Bot Adaptive 卡未在移动应用程序 (android) 中呈现 - Microsoft Teams Bot Adaptive card not rendering in mobile app (android) 需要麦克风访问权限的自定义应用程序无法在 Microsoft Teams Moble 应用程序(IOS 和 Android)上运行,但在所有浏览器(手机和台式机)中运行 - Custom app which need microphone access not working on Microsoft Teams Moble apps ( IOS and Android ) but working in all browsers (phones & desktops) 自适应卡在 Microsoft Teams 中不起作用 - Adaptive Card not working in Microsoft Teams 自适应卡片提交操作在 iOS 移动应用程序上的 MS Teams 中不起作用 - Adaptive card Submit Actions are not working in MS Teams on iOS mobile app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM