Skip to main content

We were showing front chat app icon on FE to communicate with our support team, everything was working fine from the past years, recently the icon is not showing anymore, We have initialised FCSP token and frontChat too. But we don't know how suddenly this stops working.

Is there any expiry date in token?


Or is there any change is script to integrate front chat?

<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js"></script>
<script>
window.FCSP = 'xxx';
</script>

 

The second script seems to try directly setting the value of window.FCSP, rather than calling the init method documented here: 

 

https://dev.frontapp.com/docs/chat-sdk-reference#frontchatinit-options

 

Which would look like:

<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js">
<script>

  window.FrontChat('init', {chatId: 'xxx', useDefaultLauncher: true});

</script>

 


Reply