在Facebook上,你可以浏览网站而不影响浮动聊天窗口。看起来好像主页是在一个iFrame里面,并且页脚和聊天窗口在外面漂浮。
参考:http://www.k-director.com/blog/upload/FacebookChat03.gif
这是iframe中的主要内容,还是脚注和聊天窗口是iframe中的内容?
后者似乎不可能,因为在这种情况下,当你点击主页面中的链接时,一切都需要重新加载,包括页脚iframe。
如果刷新页面,则会重新加载聊天窗口,但如果通过单击链接浏览网站,则不会。
发布于 2018-04-10 08:00:15
如果你安装FireBug并为Facebook启用网络监视器,你将看到当你单击应用程序内部的大多数链接时,你并未执行整页刷新,而是使用新内容更新页面的AJAX调用。
它看起来像一个新的页面,但实际上,你几乎在一切,但聊天栏取代了同一页。
发布于 2018-04-10 09:09:44
可能只是一个绝对定位的div,包含内容的滚动div。
发布于 2019-04-04 11:43:09
I think one of the solutions is to create a scan code (parametric code) for Facebook messenger.
Parametric codes are QR codes for Facebook, once scanned, a person will be brought to your bot for a conversation. There is a referential value behind the URL.
By printing and posting these scannable codes on the name cards or some promotional pamphlets, you can push offline users to your chatbot with ease.
To create one is quite straight forward, I think other users have contributed to it, or here is the Messenger Code guide to give you more insights on how messenger code is beneficial to various fields of business.
https://stackoverflow.com/questions/-100008031
复制相似问题