So for example, in JavaScript, I will just need to make an axios (or ajax) request with the refresh token to get my user access token still available for 4 hours more ?
For my application, I will need to read and send chat messages.
And also I would like to listen to Events on my stream (user follow, subscriptions, raid, etc). This part is managed by the Websocket connexion right ?
Oh great so I don’t need to refresh the token for the Websocket ? I just need to put all the informations that I need and then event if the token expires, the websocket will still work ? But if I restart my application and my Websocket connexion, I will have to get a non expired token right ?