live_alone
live_alone

Reputation: 159

Is it possible to create group chat dialog/room from the server instead of client?

I am using ruby on rails at server side. I want to use quickblox as chat solution. And my requirement is to create group chat room from the server side instead of client side(android, ios). I am able to register user from the backend, but the issue is I am getting the following error, while creating a chat dialog, from the server.

I am using this link for integrating the quickblox api:

http://quickblox.com/developers/Chat#Create_dialog

Error {"errors":{"base":["Forbidden. Need user."]}}.

Upvotes: 1

Views: 532

Answers (1)

Rubycon
Rubycon

Reputation: 18344

To create a dialog you need to be logged in

Use next request http://quickblox.com/developers/Authentication_and_Authorization#API_User_Sign_In

Upvotes: 1

Related Questions