TwilioDevEd / sdk-starter-node

Demo application showcasing Twilio API usage in Node.js
https://www.twilio.com/docs
MIT License
81 stars 72 forks source link

Some usage questions #39

Open hellomaya opened 6 years ago

hellomaya commented 6 years ago

We are building an app with twilio chat, one problem is that, the mobile app and web app we did, will have sync the chat history all the time, the client want to save chat channel history in firebase, that's a problem.

How to do it with twilio service and firebase same time, it could be complex.

Also another question is that, even though I have read some of the javascript SDK, still didn't get the way how channel works.

For example, if a twilio client create a channel, then when should it to be closed? Or it keep opening?

Also, if a client doesn't use explicit api to leave the channel, what happened? Does this user still in channel? Still count in the total users of the channel?

When test this starter, see this issue, as the channel room general will be full very soon, even though it only have three users, if the app do join the channel many times without leaving it...

If someone can explain more, would be great to know how to use twilio chat properly..

atbaker commented 6 years ago

Hey there @hellomaya - thanks for reaching out to us.

You'll get better answers to questions like this if you open a support ticket with us. You can use this link: https://www.twilio.com/console/support/tickets/create