I have some questions about openfire and I couldn't really find answers anywhere.
I have an app which has so far facebook login. I get the gender and the profile picture and I create the user in my database via php(POST). Now I want to add chat facility to this app.Should I keep using my database for storing chats,users etc. and the openfire+smack to connect within my facebook login and send messages ? If I have to use the openfire database, how can I change the user table to include my parameters too ? I don't get how this is working at all and nobody seems to have made a nice tutorial to explain this. Where can I find information about this? How do people know how to implement it ? It doesn't make any sense to me on how to use it.