簡體   English   中英

iframe 內的 Facebook 客戶聊天插件

[英]Facebook Customer Chat Plugin inside an iframe

是否可以讓客戶聊天插件在 iframe 中工作?

它正在添加content-security-policy: frame-ancestors IFRAME_DOMAIN並顯示Refused to frame 'https://www.facebook.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors IFRAME_DOMAIN

是的,FB 聊天插件旨在嵌入。

您只需將 Chat 允許操作的域列入白名單

也許您必須添加intent:fb-messenger:方案。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM