I was trying to use quickbox javascript api for chat application in my website. I used quickblox example and it's working good.But i didn't understand how to create new user. Any one have any code or tuorials or links on this share it.
Use this example code for creating users:
var params = {login: 'quickblox', password: 'quickblox334'};
QB.users.create(params, function(err, user) {
// callback function
if (user) {
// user - JS obejct with QB user
}
});
You can use any parameters from QB USERS API in params variable. http://quickblox.com/developers/Users#User_Sign_Up
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With