Yoctol / react-messenger-customer-chat

React component for messenger customer chat plugin
MIT License
272 stars 69 forks source link

Refused to display #83

Closed marektopolewski closed 3 years ago

marektopolewski commented 3 years ago

Looks the same as #27

image

I also had to force install the package because it was incompatible with react 17 but it doesn't appear to be related.

Pasting the auto-generated code they supply directly into index.html triggers the same error. So I think it's once again something in Facebook's plugin, but I wanted to confirm.

marektopolewski commented 3 years ago

Despite the error, the chat appears now in production. On the facebook end, I had to ensure that both www.domain.com as well as domain.com are allowed to access the API.