ConnectyCube / connectycube-web-samples

Chat and Video Chat code samples for Web, based on ConnectyCube platform
https://connectycube.com
Apache License 2.0
18 stars 29 forks source link

javascript - dialog list #13

Closed krisbaum74 closed 4 years ago

krisbaum74 commented 4 years ago

im also getting bugs on the chat.dialog endpoint its not returning all my dialogs, it just returns 1 and repeats it, plus the 'name' is not correct for example. has this been confirmed working?

can also you please point me to some live actual working websites of people using this ConnectyCube system?

the API documentation is also incomplete. it doesnt detail filters, all the responses, or much info on the parameters required for each call..

Kachanov-dev commented 4 years ago

HI, @krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it.

krisbaum74 commented 4 years ago
 let chatmessage = {
  type: 'groupchat',
   body: '',
   extension: {
    save_to_history: 1,
     dialog_id: '5e843a88ca8bf43f3268271b'
    },
    markable: 1
  };

  chatmessage.body = 'test'
  chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b',

chatmessage);

the above does not add a new message to the dialog. you can view my connectycube account --> krisbaum74@gmail.com

kris

On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev notifications@github.com wrote:

HI, @krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607052770, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ .

-- cheers Kris Baum

Kachanov-dev commented 4 years ago

let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> krisbaum74@gmail.com kris On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.***> wrote: HI, @krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum

Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request^ dialog_id.

krisbaum74 commented 4 years ago

my connectycube login is krisbaum74@gmail.com

from that account i log in to admin.connectycube.com

it only contains 5 dialogs.

why do u need any other info?

kris

On Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev notifications@github.com wrote:

let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> krisbaum74@gmail.com kris … <#m923651237985622047> On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.***> wrote: HI, @krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607052770>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum

Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607085879, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ .

-- cheers Kris Baum

krisbaum74 commented 4 years ago

i navigate with this url ->

https://admin.connectycube.com/apps/1994/service/users/edit/1197558

On Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev notifications@github.com wrote:

let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> krisbaum74@gmail.com kris … <#m_8063965865457447923_m923651237985622047> On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.***> wrote: HI, @krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607052770>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum

Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607085879, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ .

Kachanov-dev commented 4 years ago

i navigate with this url -> https://admin.connectycube.com/apps/1994/service/users/edit/1197558 On Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev notifications@github.com wrote: let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> @. kris … <#m_8063965865457447923_m923651237985622047> On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.> wrote: HI, @krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment) <#13 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ .

Have you successfully completed this step? "Before you start chatting in a group dialog, you need to join it by calling join function": https://developers.connectycube.com/js/messaging?id=group-chat

krisbaum74 commented 4 years ago

My users are already members of the group I try to chat in.

On Wed, Apr 1, 2020, 4:26 PM Kachanov-dev notifications@github.com wrote:

i navigate with this url -> https://admin.connectycube.com/apps/1994/service/users/edit/1197558 On Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev notifications@github.com wrote: … <#m8006063404463090131> let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> @. kris … <#m_8063965865457447923_m923651237985622047> On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.> wrote: HI, @krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 https://github.com/ConnectyCube/connectycube-web-samples/issues/13 (comment) <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607052770>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607085879>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ .

Have you successfully completed this step? "Before you start chatting in a group dialog, you need to join it by calling join function": https://developers.connectycube.com/js/messaging?id=group-chat

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607108487, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQE6UZASVLFY2YMUST3RKL3DXANCNFSM4LYI2YWQ .

krisbaum74 commented 4 years ago

Even if I use private chat, it won't send to every dialog i try. I put in a dialog Id and it sends to a different dialog

The documentation does not explain properly how this all works.. can u send some working examples??

On Wed, Apr 1, 2020, 4:27 PM Kris Baum krisbaum74@gmail.com wrote:

My users are already members of the group I try to chat in.

On Wed, Apr 1, 2020, 4:26 PM Kachanov-dev notifications@github.com wrote:

i navigate with this url -> https://admin.connectycube.com/apps/1994/service/users/edit/1197558 On Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev notifications@github.com wrote: … <#m_-8491131945792087317_m8006063404463090131> let chatmessage = { type: 'groupchat', body: '', extension: { save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; chatmessage.body = 'test' chatmessage.id = ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above does not add a new message to the dialog. you can view my connectycube account --> @. kris … <#m_8063965865457447923_m923651237985622047> On Wed, Apr 1, 2020 at 5:04 PM Kachanov-dev @.> wrote: HI, @krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74 https://github.com/krisbaum74. We need more information. Could you send a screen and logs with an error, please? We can't reproduce it. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 https://github.com/ConnectyCube/connectycube-web-samples/issues/13 (comment) <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607052770>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ . -- cheers Kris Baum Could you write your full_name when registering a new user in the web-chat-sample, please? I can’t find the dialog at your request. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#13 (comment) https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607085879>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ .

Have you successfully completed this step? "Before you start chatting in a group dialog, you need to join it by calling join function": https://developers.connectycube.com/js/messaging?id=group-chat

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-web-samples/issues/13#issuecomment-607108487, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQE6UZASVLFY2YMUST3RKL3DXANCNFSM4LYI2YWQ .

Kachanov-dev commented 4 years ago

Even if I use private chat, it won't send to every dialog i try. I put in a dialog Id and it sends to a different dialog The documentation does not explain properly how this all works.. can u send some working examples?? On Wed, Apr 1, 2020, 4:27 PM Kris Baum @.> wrote: My users are already members of the group I try to chat in. On Wed, Apr 1, 2020, 4:26 PM Kachanov-dev @.> wrote: > i navigate with this url -> > https://admin.connectycube.com/apps/1994/service/users/edit/1197558 On > Wed, Apr 1, 2020 at 6:37 PM Kachanov-dev @. wrote: > … <#m_-8491131945792087317_m8006063404463090131> > let chatmessage = { type: 'groupchat', body: '', extension: { > save_to_history: 1, dialog_id: '5e843a88ca8bf43f3268271b' }, markable: 1 }; > chatmessage.body = 'test' chatmessage.id = > ConnectyCube.chat.send('5e843a88ca8bf43f3268271b', chatmessage); the above > does not add a new message to the dialog. you can view my connectycube > account --> @. kris … > <#m_8063965865457447923_m923651237985622047> On Wed, Apr 1, 2020 at 5:04 > PM Kachanov-dev @.***> wrote: HI, @krisbaum74 > https://github.com/krisbaum74 https://github.com/krisbaum74 > https://github.com/krisbaum74. We need more information. Could you send > a screen and logs with an error, please? We can't reproduce it. — You are > receiving this because you were mentioned. Reply to this email directly, > view it on GitHub <#13 > <#13> > (comment) <#13 (comment) > <#13 (comment)>>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ANXOUQFTTDRTL23566QKSCLRKLKNFANCNFSM4LYI2YWQ > . -- cheers Kris Baum Could you write your full_name when registering a new > user in the web-chat-sample, please? I can’t find the dialog at your > request. — You are receiving this because you were mentioned. Reply to this > email directly, view it on GitHub <#13 (comment) > <#13 (comment)>>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ANXOUQGVNJ674SZ7XUTRHTDRKLVKBANCNFSM4LYI2YWQ > . > > Have you successfully completed this step? > "Before you start chatting in a group dialog, you need to join it by > calling join function": > https://developers.connectycube.com/js/messaging?id=group-chat > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#13 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ANXOUQE6UZASVLFY2YMUST3RKL3DXANCNFSM4LYI2YWQ > . >

You can see the basic implementation in our example: https://github.com/ConnectyCube/connectycube-web-samples/tree/master/chat Please let me know if you need any help.

ccvlad commented 4 years ago

Hi @krisbaum74

  1. Did you join to the group chat before you have sent message? (Send/Receive chat messages - Group chat)
  2. Please show your logs from console, it would the most helpful information to give you an answer. Here the config's setting to enable the ConnectyCube logs.
ccvlad commented 4 years ago

Closed due inactivity, please re-open if the issue is still persists.