Facebook Messenger网络应用上的聊天扩展

Facebook刚刚启动了Chat Extensions并开源了一个名为TaskBot的示例扩展,它可以在两个人之间进行聊天.
Github回购是
here,官方文档是
here.

我试着玩弄它.在移动应用程序中正常工作但不在网络应用程序内(通过messenger.com).当我尝试编辑任务列表时,我被重定向到页面https://messenger-taskbot.herokuapp.com/lists/ {id},我有以下消息:

《Facebook Messenger网络应用上的聊天扩展》

所以我想在浏览器上不会有messenger.com的聊天扩展吗?

最佳答案 聊天扩展使用网页浏览,并在“桌面”Facebook Messenger和messenger.com网页浏览中打开新选项卡.聊天扩展依赖于在聊天线程本身内打开的webview窗口.

从您链接到的文档:

When the user taps the chat extension’s icon, it opens a webview-based
UI specified by the developer. The user can then create or select
content to be shared into the thread. The message shared into the
thread can contain images, links, and more.

所以,是的,聊天扩展似乎只是移动设备.

点赞