RSS Feed
Knowledgebase : QB Assistance
   

CAN VIDEO CONFERENCING APP BE MADE USING QUICKBLOX’S API? Yes it can. Web http://quickblox.com/developers/Sample-webrtc-web [http://quickblox.com/developers/Sample-webrtc-web] iOS http://quickblox.com/developers/Sample-webrtc-ios [http://quick...
ARE CHAT MESSAGES STORED? There is a possibility to manage chat history. With QuickBlox You can store, view and retrieve chat history without any additional API calls. More details you can check here http://quickblox.com/developers/Chat/1:1_Chat_history
CAN I CREATE ONE GENERIC USER FOR ALL CHAT SESSIONS? Yes, you can. You need to register QuickBlox account http://quickblox.com/signup/, log into your admin panel and add your application. Then get tokens and keys to access your application (check detail...
CAN I DELETE QUICKBLOX USER ACCOUNT WITHIN THE APPLICATION? It is possible to delete only your own account, but not other users accounts (since you are not the owner). For this you can use the following: _iOS_ You can delete only current user [QBReq...
CANNOT ACCESS API.QUICKBLOX.COM/SESSION.XML In order to access this API you need to use POST request, not GET one. More information you can check here http://quickblox.com/developers/Authentication_and_Authorization#Requests_and_Responses
I WANT MY APP TO SUPPORT BOTH CHAT AND POSTWALL FEATURES. IS THERE A WAY TO INTEGRATE THE CHAT WITH MY OWN POSTWALL? OR IS IT AVAILABLE IN THE SDK ALREADY? Yes you can. Please check iOS and Android chat code samples: iOS: http://quickblox.com/dev...
HOW DO I ADD CHAT FEATURE TO MY ALREADY ESTABLISHED MOBILE APP? Please look at the chat codes sample that might be helpful for you: iOS - http://quickblox.com/developers/SimpleSample-chat_users-ios [1] Android - http://quickblox.com/developers...
I HAVE USED VIDEO CHAT APP USING QB SAMPLE CREDENTIALS. I HAVE 1 VIDEO CHAT APP INSTALLED ON BOTH OF MY IOS DEVICES. 
WHEN BOTH DEVICES ARE ON THE SAME NETWORK THE VIDEO QUALITY IS MUCH BETTER BUT WHEN BOTH DEVICES ARE ON DIFFERENT WIFI NETWORKS THE QU...
WHY IS MY CHAT MODULE IN THE LIST OF USERS NOT LOADING? You need to look through sample codes and find [QBUsers userWithDelegate:..] query. And look into delegate method, what this query returns and print.
I AM MAKING MY APP ON JUST IOS USING THE HELP OF QUICKBLOX CHAT SAMPLE BUT I AM FACING ISSUES WITH CONNECTIVITY. I ALSO RAN A CHAT SAMPLE FROM QUICKBLOX IT STILL GIVES ME THE SAME RESPONSE. AUTOMATICALLY IT BECOMES CORRECTED. You can use separate ro...
DELETE AND PUT COMMAND DO NOT WORK, WHY? In order to use QuickBlox API you need to create session. After this you will have READ access to QuickBlox environment. In order to CREATE/UPDATE/DELETE records you must be logged in and act on user's behalf. ...
FACEBOOK USER CANNOT LOG INTO THE CHAT, WHY? There are two ways of users authentication: standard login and password and Facebook/Twitter authentication. Depending on this you need to use appropriate password for XMPP connection: either the same passwor...
HOW DO I CHANGE THE VIDEO CHAT FRAME QUALITY ON IOS? You can change the video quality by setting the video chat frame quality preset in the "Video Chat Configuration": http://stackoverflow.com/questions/20111654/quickblox-video-chat-quality [1] ...
WHAT IS THE LIMIT WITH THE GROUP CHAT APPLICATION FOR DEVELOPERS? AND HOW MANY USERS CAN JOIN IN THE GROUP CHAT? There are no limits to group chats - all things are unlimited for developers.
How can I get extended room information? QuickBlox Chat server supports only short room info at the moment. We suggest using CustomObjects record to wrap Chat room and store any additional room information you need.
HOW CAN I INCREMENT THE BADGE COUNTER EACH TIME A PUSH NOTIFICATION IS RECEIVED (IOS/REST API)? iOS device does not increment the badge counter automatically each time a new push message is received. To manage badge counter you need to send push notific...
HOW DO I KNOW WHETHER THE MESSAGE IS DELIVERED/READ (IOS)? To know if the message was delivered you can use the following solution. When message is received, you automatically need to send message with parameters (custom parameters: put message - deliv...
HOW RECEIVE VIDEO CALLS FROM ANYWHERE IN THE APP? Please refer to http://quickblox.com/developers/Sample-webrtc-ios
HOW TO ADD AN AVATAR AND EXTRA DETAILS TO CHAT USER? Each user has a blob_id field http://quickblox.com/developers/Users#Response_3 Basically this is a link to file in Content Module. You can upload the file into the Content Module and connect it with u...
HOW TO CREATE MULTIPLE RELATED RECORDS WITH QUICKBLOX IOS SDK? In order to create relation between custom tables you can use parentID field. To understand how it works let's look through the following example: let's say you have two entities - Movies ...
HOW TO CREATE NEW RECORD IN QUIKCBLOX CUSTOM TABLE? Android. In order to create record you need to be logged in http://quickblox.com/developers/SimpleSample-users-android#Sign_In_.26_Social_authorization Next, the following can be used: HashMap
HOW TO CREATE ONE TO ONE CHAT WITH WEB SDK? As a Chat service QuickBlox uses XMPP-server. WebSDK doesn't have a wrapper for XMPP API, so you will need to include additional XMPP JS library. For our examples, we used Strophe.js (http://strophe.im/strophe...
HOW TO CREATE USER LOGIN AND PASSWORD? Android User login and password can be created the following way: final QBUser user = new QBUser("testuser12344443", "testpassword"); QBUsers.signUp(user, new QBCallbackImpl() { @Override public void onComplete...
HOW TO DELETE ALL CUSTOM OBJECTS FOR A SPECIFIC CLASS? Records can be deleted only by their owner. You can delete all objects for a specific class in three steps: First you need to retrieve all objects by QBCustomObjects class: objectsWithClassName:ex...
HOW TO DISABLE QUICKBLOX LOGS? In order to disable QuickBlox logs use the following: [QBSettings setLogLevel:QBLogLevelNothing];
HOW TO FIND OUT WHETHER QUICKBLOX USER IS ONLINE? There are two ways to find out whether QuickBlox user is online: 1. Using REST API. Please check the guide here http://quickblox.com/developers/SimpleSample-users-ios#Online.5COffline_status [http://qu...
HOW TO GENERATE QB SESSION TOKEN? To generate the session token you need to create the session first. Details you can find here http://quickblox.com/developers/Authentication_and_Authorization#API_Session_Creation. Next step is signature generation: h...
HOW TO GET A LIST OF ROOMS WHERE THE USER IS LOGGED IN? To get the list of rooms where the user is logged in, not the complete rooms list, you can make a wrapper in Custom Objects: for each user add/delete/store custom objects (in your case these are ro...
HOW TO GET SENDER DATA WHEN MESSAGE IS RECEIVED? On how to send custom parameters in QBChatMessage please refer to http://quickblox.com/developers/SimpleSample-chat_users-ios#Use_custom_parameters_in_a_message [http://quickblox.com/developers/SimpleSam...
HOW TO IMPORT THE PROJECT INTO ANDROID IDE - ECLIPSE? In order to import the project into Eclipse please do the following: 1. Import the project (sample-chat and pull-to-refresh, which is located in libraries); 2. Import appcompat project (it is locat...
HOW TO KEEP THE APP ALIVE IN BACKGROUND? QBChat instance has 90 seconds timeout. After a timeout the socket is closing. You need to keep up the connection by sending the (BOOL)sendPresence message to QBChat instance object. This will support the chat wo...
HOW TO LIST USERS OF PARTICULAR APPLICATIONS CREATED UNDER ONE QB ACCOUNT? If you have several applications created under the same QB account and you wish to list users belonging to a particular application (not all users under your account), you can us...
HOW TO MAKE PAGED REQUEST FOR CUSTOM OBJECTS? In order to implement paged request for Custom Objects you can use limit & skip parameters: iOS. How to use Custom Objects quickblox.com/developers/SimpleSample-customObjects-ios
How to obtain all "Parents" associated with "Childs" provided that every "Child" instance has a given "myKey"? In order to give all Children for particular Parent use the following: https://api.quickblox.com/data/Child?_parent_id=
HOW TO RETRIEVE APPLICATION POPULAR TAGS (IOS)? There is no direct option in iOS SDK to retrieve popular tags. Though you can hardcore all your tags or obtain tags from user and then retrieve users by selected tag using http://quickblox.com/developers...
How to retrieve user by ID and set him as an opponent (iOS)? For Chat you don't need full user body, you can send chat messages directly to user ID. More info you can find here http://quickblox.com/developers/SimpleSample-chat_users-ios#Create_new_1-1...
HOW TO SHARE AUDIO/VIDEO WITH SEVERAL IOS DEVICES? QuickBlox has released Quickblox WebRTC iOS SDK You are able to share your screen. For more information please refer to http://quickblox.com/developers/Sample-webrtc-ios#Screen_sharing [http://quick...
HOW TO TAG CONTENT? _iOS_ How to update user profile with information http://quickblox.com/developers/SimpleSample-users-ios#Update_your_own_profile [http://quickblox.com/developers/SimpleSample-users-ios#Update_your_own_profile] To tag content you ...
I AM USING QBCHATMESSAGE. HOW CAN I GET THE SENDER'S PROFILE PHOTO AND USER ID? You can use message.senderID to get sender's user id. In order to get an avatar do the following: How to update user's avatar http://quickblox.com/developers/SimpleSampl...
I GET UNAUTHORIZED ERROR, WHY? An "Unauthorized" error means that you have not created the user for your application in admin panel OR your login/email or password are wrong. Also make sure that you updated user's details in code sample as well as crede...
I HAVE RECEIVED AUTH TOKEN AND SECRET USING TWITTER REVERSE AUTH BUT WHEN I PASS IT TO QB IT SAYS BAD AUTHENTICATION DATA, WHY? Make sure that you set API KEY, API SECRET and callback for your app http://quickblox.com/developers/Social_Networks_Integrat...
I RECEIVE "QBCHAT/DIDDISCONNECT, ERROR: ERROR DOMAIN=GCDASYNCSOCKETERRORDOMAIN CODE=7 "SOCKET CLOSED BY REMOTE PEER" USERINFO=0X10E58040 {NSLOCALIZEDDESCRIPTION=SOCKET CLOSED BY REMOTE PEER}", WHY? There can be several reasons of why your application go...
I receive "Token is required" error, why? The error means that you are trying to perform a query without creating a session first. To create session use the following: QBAuth.createSession(new QBCallbackImpl() { @Override public void onComplete(Res...
I WANT TO VERIFY AND STORE USERS INFO WITH HELP OF CUSTOM OBJECT TABLE INSTEAD OF USERS MODULE, IS IT POSSIBLE? Unfortunately you cannot refuse using QBUser. Both password and login will be stored in it. Each custom object has User Id field, so you can ...
I WOULD LIKE TO RETRIEVE USERS PASSWORD, BUT I ALWAYS GET NULL VALUES. It is unsafe to store the password in an open form, so it is OK that you cannot retrieve it. For security reasons only user can know his/her password.
IS IT POSSIBLE TO ACCESS DIRECT URL OF A PUBLIC IMAGE USING BLOB ID? Yes it is possible. You can upload blob and make it public, e.g: [QBContent TUploadFile:file fileName:@"Great Image" contentType:@"image/png" isPublic:YES delegate:self]; // QuickBlox...
IS IT POSSIBLE TO ADD SERVER LOGIC (CUSTOM CODE) TO QUICKBLOX? Currently it is not possible to add some custom code to QuickBlox server. The following workaround can be used though: - write a simple script using e.g. python or ruby; - upload this scri...
IS IT POSSIBLE TO ALLOW WRITE ACCESS TO MULTIPLE USERS ON QUICKBLOX FRAMEWORK? Yes, it is possible to allow write access to multiple users. QuickBlox released iOS SDK 1.7 with Permissions API, please check more details here http://quickblox.com/develo...
IS IT POSSIBLE TO CHANGE USER_ID? It is not possible to change the user_id as this is the ID of record's creator.
IS IT POSSIBLE TO CHANGE USER’S PASSWORD AFTER LOGIN? Yes, there is actually a possibility to change password after user has logged in. You can use the following _for iOS:_ QBUUser *user = [QBUUser user]; user.ID = 300; user.oldPassword = @"fg...
IS IT POSSIBLE TO EXTRACT LOCATIONS USING IOS SDK? Yes, it is possible to extract locations with help of iOS SDK. Let's say you need to extract locations in 100 km area only. You can use the following: QBLGeoDataGetRequest *getRequest = [[QBLGeoDataGe...
IS IT POSSIBLE TO JOIN TWO JSON OBJECTS INTO ONE QUERY? Unfortunately QuickBlox does not provide "JSON" like operator in Custom Objects Module at the moment. So you will need to do two separate queries. Although, instead of implementing JSON query we ...
IS IT POSSIBLE TO SEND IMAGES USING PUSH NOTIFICATIONS? Yes, you can send images with help of push notifications. This can be implemented by uploading files into the Content Module and sending link to file in push notifications. User will be able to d...
IS IT POSSIBLE TO STORE APPLICATION SESSION VIA REST? Unfortunately it is not possible to store application session via REST. If the application is closed the session will be lost and user will need to log in again. Currently you can only store login ...
IS IT POSSIBLE TO UPLOAD IMAGE TO CUSTOM OBJECT (IOS)? Yes, it is possible. QuickBlox released iOS SDK 1.8 which supports Custom Objects File API http://quickblox.com/developers/SimpleSample-customObjects-ios#Files.
IS THERE A METHOD IN QUICKBLOX IOS SDK FOR CHECKING/STORING A VALID USER SESSION? Assume you create a session with Facebook login: QBASessionCreationRequest *extendedAuthRequest = [QBASessionCreationRequest request]; extendedAuthRequest.socialProvider ...
IS THERE ANY ANALOG IN THE QUICKBLOX IOS SDK THAT DOESN'T REQUIRE SENDING THE WHOLE ARRAY TO THE SERVER TO UPDATE ONE VALUE? If you wish to update one value and do not want to send the whole array to the server you can use the following solution: QBCO...
IS THERE ANY WAY TO RETRIEVE ALL BLOBS UPLOADED BY OPPONENT? There is no basic way to retrieve all blobs of the opponent as all files are kind of private. As a workaround you can use Custom Objects API http://quickblox.com/developers/Custom_Objects. ...
IS IT POSSIBLE FOR A USER TO REGISTER AND LOGIN TO QUICKBLOX JUST USING THEIR FACEBOOK ACCOUNT? We have a number of implementations where users log in with their Facebook account; the QuickBlox account is created separately. Check for example our...
MESSAGES ARE NOT DELIVERED ONCE ONE OF USERS GOES OFFLINE. If you use 1 to 1 chat you need to logout from Chat when application goes to background and login again when you go foreground. In this case messages will be delivered without any issues. In c...
HOW MUCH STORAGE/TRAFFIC WILL BE USED, IF I STARTED A VIDEO CALL TO A PERSON USING IPHONE FOR 1 HOUR? When you are doing a Peer to Peer video call to a person, the only traffic that will be used on the server-side is for logging start and end time o...
HOW CAN I SWITCH THE CAMERA? The camera can be switched during a video call. To implement this option use: cameraView.switchCamera(); For example,locate "Switch" button over cameraView in xml file:
I WANT TO SHOW A DELIVERY REPORT TO A USER (EITHER YOUR IM HAS BEEN SEEN BY YOUR FRIEND TO WHOM YOU CHAT OR NOT). HOW CAN I GET STANZA MESSAGE USING CHAT INSTANCE? You can send messages with text 'delivered' or something similar as a response automa...
USING OF FACEBOOK-IOS-SDK AND QUICKBLOX SDK CAUSES MAC-O-LINKER ERROR. You can take a look at this project src https://github.com/QuickBlox/ChattAR-ios - that includes Facebook API, Location, Chat and Augmented Reality view features. It uses QuickBlox...
WHAT ARE THE SERVER SIDE REQUIREMENTS FOR INSTALLATION QUICKBLOX? QuickBlox can be installed literally on any hardware starting from the equivalent of AWS Small (1 GHz CPU, 1.7 Gb RAM, 160 GB storage, any Linux-based OS) but it depends on capacity you w...
WHAT IS THE DIFFERENCE BETWEEN ACCOUNT USER, API USERS AND API APPLICATION? Account user is your admin panel account, the one you sign up QuickBlox as a developer. API Users are your end users, who will use your mobile application. API application i...
WHAT IS THE DIFFERENCE BETWEEN CUSTOM OBJECT AND CONTENT MODULES? There are several features that characterize each storage. _Content features:_ - no file size limit, up to 5TB - allows to use file public url _Custom Objects features:_ - max 32Mb f...
Why I get "Forbidden. Need user." error? The error means that in order to perform any actions you need to login and act on user behalf. You can use one of the following: _iOS_ [QBUsers logInWithUserLogin:@"igorigor" password:@"igorigor" delegate:sel...
WITH QB CHAT IS IT POSSIBLE TO GET MESSAGES FROM NOT FACEBOOK FRIENDS? For communiction between non-friends you can use QuickBlox Chat as addition. This feature is available in new ChattAR https://github.com/QuickBlox/ChattAR-ios/tree/2.0