FAQ Database Discussion Community


Quickblox REST API privacy list

quickblox
Is there any way to work with Privacy lists via REST API? I know that the iOS SDK and now the Android SDK do this, but I need a web solution. Thank you!

How to create a QuickBlox session in Pascal

pascal,quickblox
I'm having troubles with creating QuickBlox session on Pascal. Didn't find any examples here http://quickblox.com/developers/Authentication_and_Authorization#Examples Does anybody can help me? ...

Quickblox chat between iOS and Android

android,ios,chat,quickblox
I implemented the Quickblox chat on my iOS app and another developer has implemented the same application on the Android app. When I am talking iOS device to iOS device, everything happens normally, messages are sent, received, listed in my view normally. When the conversation is between Android device to...

QuickBlox: error !! Not able to run app in device after framework update

ios,objective-c,clang,linker-error,quickblox
Yesterday I updated the quickBlox frame work, since then I am not able to run the application in device, the app is running fine on simulator. its give me bellow error when I try to run in device. any help would be appreciated. ...

Filtering Chat Dialog GET results

quickblox
the following curl statement does not filter the results, I receive all Chat Dialogs for the user. curl -X GET -d "unread_messages_count[gt]=0" -H "QB-Token:xxxxx" https://api.quickblox.com/chat/Dialog.json can the 'unread_messages_count' field on the Chat Dialog object be used for filtering results and with search operators? thanks...

QuickBlox Android NoResponse

java,chat,quickblox
I'm developing a simple Android based chat application using QuickBlox. For that I have created a Quickblox Free account. Now sometimes when I try to login to the chat service I get following error. Any idea on this ? 03-15 15:58:37.589 15897-16016/com.ne.chatapp D/QBASDK﹕ Connecting to chat.. 03-15 15:58:43.499 15897-16020/com.ne.chatapp D/SMACK﹕...

start all dialogs (chat room) to autodownload attachments in quickblox

android,ios,quickblox
What i want to implement is auto-download attachment functionality without entering in ChatRoom, using QuickBlox SDK iOS version 2.0.12, To do that all i want to start all the dialogs (chat rooms) that user belongs after login. With current api what user can see the list of Dialogs (chat rooms)...

Quickblox friendlist in javascript?

quickblox
In the documentation, there are examples of how to do this in android or ios: http://quickblox.com/developers/Android_XMPP_Chat_Sample#Contact_list however I am not certain how to do this with the javascript API, how might one do this? Thanks in advance....

ios Unprocessable Entity while SignUp in Quickblox

ios,quickblox
I am developing a chatting app and i have added Quickblox framework for chat, but while signup with new user getting following error: Request URL:https://api.quickblox.com/users.json Request method: POST Request parameters:{ user = { login = 8306706078; password = 12345; }; } Request headers: { "Content-Type" = "application/json"; "QB-SDK" = "iOS...

Can't upload fie to Quickblox using REST API + AJAX. SignatureDoesNotMatch error

ajax,quickblox
I'm trying to upload file with instruction given in http://quickblox.com/developers/Content First i'm creating file, and it always successful, then using params in response of creating file, i'm trying to upload file. And it fails with SignatureDoesNotMatch error. In source code below, i tried to show the whole algorithm. Could you...

Getting Null pointer exception sometimes when creating QBRTCSession with opponents while making calls

android,webrtc,quickblox
Tried to implement webrtc audio/video call in my application using Quickblox SDK version 2.2.1. Implemented QBRTCClientCallback interface on an Android Service Class. Able to make audio/video calls, but consistency is the issue. I'm able to make audio/video calls, but consistency is the issue . Getting NullPointerException sometimes when creating session...

How to get value from the selected row (android studio)

android,quickblox
I am new to android studio. I have a list of rows, each of which has a button. Once the button is clicked, it will be able to update the data in the database(quickblox). However, the update code for quickblox does not work if I don't give it the id...

QuickBlox' QB.chat.addlistener only working sporadically, can't tell why or what triggers it

javascript,quickblox
Having difficulty with this working at seemingly random times. When I go into the chat page, the controller activates, and immediately after that the before addlistener and after addlistener console.logs fire, and then sometimes when I send a message, it is received with a console printout of the package contents,...

How can I wait for delegate to complete before returning completion handler in method?

ios,xcode,delegates,objective-c-blocks,quickblox
I have a method which performs an action. - (void)mutualDeleteDialog:(QBChatDialog *)dialog success:(void (^) ())successBlock failure:(void (^)(NSError *))failureBlock { QBChatMessage *deleteMessage = [self generateDeleteDialogMessage:dialog]; [self sendMessage:deleteMessage success:^{ [QBChat deleteDialogWithID:dialog.ID delegate:self]; } failure:^(NSError *error) { failureBlock(error); }]; The deleteDialogWithID method calls a third party service and calls a delegate method when complete....

Mark all messages read in QuickBlox iOS

ios,objective-c,chat,quickblox
I am developing an chat base application with the help of QuickBlox. There is an Api that returns chat dialogs where the last sent message and unread-messages count comes. My problem is to mark messages as read. For this i got the working code like [QBChat markMessagesAsRead:arrMessages dialogID:dialogId delegate:self]; //...

Simple QuickBlox createSession giving 422 (application_id required)

javascript,quickblox
I have just started with the QuickBlox javascript SDK, but I am getting an error ServiceProxy.ajax error 422 Unprocessable Entity {"errors":{"base":["application_id or app_id (deprecated) required"]}} trying to create a session. my test.html: <!doctype html> <html> <head> <meta charset="utf-8"> <title>QuickBlox API client - Content</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script...

Quickblox data security

ios,objective-c,security,encryption,quickblox
I am developing a chat application using Quickblox SDK. I have been asked to hash user's password using MD5 when sending requests to server (login, signup ,modify profile ...). But i want to know if this is necessary since it may have been implemented in the SDK itself. I have...

Quickblox - group chat with javascript SDK

javascript,quickblox
I have been having trouble setting up a groupchat using QB Javascript SDK. A couple of issues: First, I keep getting "room is locked" message http://i.imgur.com/mB3iBKf.png Not sure why, the server side, the room is setup as public group and not a private chat. Secondly, it looks like only one...

Getting “base unexpected signature” using quickblox android

android,quickblox
I am working on android app using QuickBlox. I am using this code: SmackAndroid.init(BaseFragmentActivity.this); QBSettings.getInstance().fastConfigInit(String.valueOf(Utility.APP_ID), Utility.AUTH_KEY, Utility.AUTH_SECRET); // Create QuickBlox session // if(tcApp.hasConnection()) { final QBUser qbUser = new QBUser(userId, userPassword); QBAuth.createSession(qbUser, new QBEntityCallbackImpl<QBSession>() { @Override public void onSuccess(QBSession qbSession, Bundle bundle) { Log.d("TAG", "HERE"); } @Override public void...

QuickBlox: How to get all members of room?

ios,iphone,xmpp,chat,quickblox
How can we get all member of room in QuickBlox iOS SDK. In web SDk of QuickBlox we can find by bellow link. but I am not able to find same for iOS SDK http://quickblox.com/developers/Web_XMPP_Chat_Sample#Managing_members Any help will be appreciated....

Quickblox 'automatic push notifications for offline user' not working

ios,apple-push-notifications,quickblox
I have following scenario. User A sends message to User B in foreground -- this is working Send push notification to User B, when app is in background, from 'Messages' console -- this is working I want to send notification alert to User B when app is in background. I...

nothing happens when creating dialog at quickblox android

android,quickblox
I want to connect to a group chat with quickblox. following the samples I made this snippet: Log.e(TAG, "Logged into chat service successfully, creating dialog..."); if (Looper.myLooper() == null) { Looper.prepare(); } QBDialog dialogToCreate = new QBDialog(); dialogToCreate.setName("Test"); dialogToCreate.setType(QBDialogType.GROUP); ArrayList<Integer> a = new ArrayList<Integer>(); a.add(qbUser.getId()); dialogToCreate.setOccupantsIds(a); QBChatService.getInstance().getGroupChatManager().createDialog(dialogToCreate, new...

Quickblox Group Video Calls with Javascript SDK

javascript,webrtc,quickblox
The documentation for group video calls is missing on Quickblox website : Group video / voice calls - Is coming soon - http://quickblox.com/developers/Sample-webrtc-web I have a workaround but it's not a viable solution when there are more than 4 users. For 3 user conference: User 1 calls User 2 and...

'Title' property in Quickblox' APNs payload

ios,apple-push-notifications,quickblox
It seems like QB doesn't support 'title' sub-field of 'alert' field inside remote notification payload. 'title' sub-field is used to show notification summary on AppleWatch 'Short-Look' interface (not sure if Watch' OS use 'alert' field's content if title field not specified). Is it possible to add this field or maybe...

How can I receive the number of my users list with paginator form QuickBlox?

ios,objective-c,quickblox
I use QuickBlox in my app and when I take the list of users I use this method : - (void)paginator:(id)paginator didReceiveResults:(NSArray *)results { [self.activityIndicator stopAnimating]; // reload table with users [self.users addObjectsFromArray:results]; } but I receive just 100 of users, and I have to take 162 for now. What...

How to manage badge counter for push notification from QuickBlox?

ios,apple-push-notifications,quickblox,badge
I'm using QuickBlox iOS SDK to have chat functionality into my app. It works great. Now there's a requirement from client to manage badge counter for each of the push notifications. There's some scenarios which may help you to suggest me the flow to handle badge counter: Currently, a user...

Quickblox on IE-8/IE-9

javascript,jquery,internet-explorer,quickblox
Does quickblox's javascript library works on IE8/IE9? I am getting "No Transport" error while creating the session. As per few suggestions on SO, I am using following scripts <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.2/jquery.xdomainrequest.min.js"></script> But I am not having any luck. The other option I tried was, setting following property: jQuery.support.cors =...

Quickblox messages with russian language

android,chat,quickblox
I'm using QuickBlox as a clock backend for my chap-application. But now I've met a problem that when user write message on Russsian language, it contains only "?????" symbols instead of real message. Looks like problem is with encoding. Any ideas or alternative for mobile chat backend platform?...

android quickBlox Video calling code force close on click on receive button click

android,video,call,quickblox
Hello all i need to integrate video and audio call using QuickBlox for that i am using This link i am able to login with user name and password But when user clickes on receive video call they get error and force close app on both the device the error...

Quickblox Message Attachments

quickblox
In reference to this question: quickblox web how to upload profile picture I would like to attach the uploaded file to a new message. QB.content.createAndUpload({file: profile_picture, public: true}, function(error, response) { if (error) { console.log("upload didn't work"); } else { var blob_id = response.id; // Example HERE // var attachment...

QuickBlox Chat not logging in

ios,swift,authentication,chat,quickblox
I'm working on swift and quickblox and I'm trying to have chatting occur between users. The user authentication and sign in is working its just that the chat isn't Logging in for some reason Code in question: QBRequest.createSessionWithExtendedParameters(parameters, successBlock: { (response : QBResponse! ,session : QBASession!) -> Void in var...

How to Receive messages from quickblox_id not registered with createChat in Android?

java,android,quickblox
How to Receive messages from quickblox_id not registered with createChat in Android? as titled. editted: public static void register_general_chat(final QBMessageListener<QBChat> callback) { privateChatManagerListener = new QBPrivateChatManagerListener() { @Override public void chatCreated(final QBPrivateChat privateChat, final boolean createdLocally) { NSLog("chatCreated.createdLocally=" + createdLocally); if (!createdLocally) { privateChat.addMessageListener(callback); } } }; NSLog("chat_manager added");...

How to get QuickBlox server time from QBChatMessage?

ios,quickblox
When we got a message in delegate: - (void)chatDidReceiveMessage:(QBChatMessage *)message How we can know what's the UTC time for this message? I'm facing issue with user device date and time. So I've to use server time. Is there a way to get it from QBChatMessage object. P.S. I'm already using...

adding quickblox android sdk with httpmime

java,android,http,quickblox
i have android project which uses httpmime library for uploading images to sever using multipart/form request and i'm now trying to add quickblox but when i try to build my project Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/apache/http/entity/mime/FormBodyPart; i made many research on...

converting string path to inputstream

java,android,string,inputstream,quickblox
I am developing a chatting app using Quickblox chat API And currently have done user registration,authentication and basic peer to peer chat and group chat. now implementing video,image and file sending But have stuck up on some part. Selecting image from sd card. returns picture path in string and its...

QuickBlox QB.chat.connect giving perplexing authentication error code 401 out of nowhere

javascript,quickblox
I've been getting my hands into a Quickblox app and everything has been going fine (at least insofar as logging in with the users accounts..) up until this afternoon when I started to get a perplexing user authentication error like so: 108 606756 log [QBChat]:, Status.AUTHFAIL - The authentication attempt...

Android quickblox public chat dialog occupants ids null

android,chat,quickblox
I have created a public chat using QBDialog Type QBDialogType.PUBLIC_GROUP, and Group is created successfully.ALso all the users are able to chat in this Group. But my problem is that when i am getting this group the occupants id Array is null. I am using below code to get the...

How to create the get method for the call

php,arrays,json,http,quickblox
I am studying and implementing an api and while following the examples, Here is the example 1 : curl -X POST \ -H "Content-Type: application/json" \ -H "QuickBlox-REST-API-Version: 0.1.0" \ -d '{"application_id": "2", "auth_key": "DtF9cZPqTF8Wy9Q", "timestamp": "1333630580", "nonce": "1340569516", "signature": "13293a5bd2026b957ebbb36c89d9649aae9e5503", "user": {"login": "injoit", "password": "injoit"}}' \ https://api.quickblox.com/session.json For the...