I am using QuickBlox SDK to load chat history. Like this:
- Create Session
- after successfully creating section Initialize chatService
- Login chat Service
- After successful Login.
Bundle bundle = new Bundle();
QBRequestGetBuilder customObjectRequestBuilder = new QBRequestGetBuilder();
customObjectRequestBuilder.setPagesLimit(ConstsCore.CHATS_DIALOGS_PER_PAGE);
try
{
List<QBDialog> chatDialogsList = QBChatService.getChatDialogs(null, customObjectRequestBuilder,bundle);
} catch (QBResponseException e)
{
e.printStackTrace();
}
At this step I am getting this Exception:
base Forbidden. Need user.