TwilioDevEd / conversations-demo

Demo chat app for use in Conversations Quickstart, with updated UI.
32 stars 89 forks source link

This doesn't work #32

Closed proevilz closed 3 years ago

proevilz commented 3 years ago

I place my key in the app, and the 'open conversations' box just spins.

What is this app supposed to do exactly?

floofydoug commented 3 years ago

Same thing happened to me on the sandbox. Connection is good, but app just spins.

image

floofydoug commented 3 years ago

I did some searching online and found an earlier iteration demo of this repo with instructions on how to get started with conversations:

https://www.youtube.com/watch?v=jKlv_8YFg2g

Basically, you will need to do a little extra work via the twilio-cli to get working quickly if you don't already have endpoints for some of this stuff:

  1. create a conversation in the dashboard, if you haven't already. twilio api:conversations:v1:conversations:participants:create --conversation-sid <your sid>

  2. create a participant and add them to the conversation: twilio api:conversations:v1:conversations:participants:create --conversation-sid <your chat sid> --identity floofydoug

  3. use the same identity logging in as the identity provided to see the conversations they're a part of.

  4. now it looks like this:

image

RPGillespie6 commented 3 years ago

Works for me as of May 2021. The key for me was making sure the access token I generated used an --identity that matched an existing participant in the specified chat service

jefflinwood commented 3 years ago

I added a link in the README to the Conversations Quickstart - that has a walkthrough, including the steps above that involve adding a participant to the conversation. Thanks!

https://www.twilio.com/docs/conversations/quickstart