I have installed open fire in my system and by using postman tool i am able to create the user and by using smack i can able to send the message to other user also.. but the problem is that i dont know that how to fetch the chat history between two users..it means if i sent the from and to user names i need to fetch the previous chat history. I am able to see the chat history in the open fire servers--> archieving folder.. But i am not getting that how to fetch the chat history. Is there any Rest API's are available to fetch the chat history between two users..
Please provide any possible solution
Thank You
This is the chat history that I can see
If you want use get chat history from openfire with smack:
MAM is a part of "smack-experimental". So you must add this line to your gradle:
After a successful connection and authorization for one of them, you can get chat history page by page or as you need with this code: