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.
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.
Looks the same as #27
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.