I'm having really major problem about my chat function that previously worked well but later didnt for a year i think.

Actually the problem is that nobody seems online whenever i open my profile. I dont know what exactly i should do to solve this. This is making me mad because chat was making possible for me to say hi some people that didnt know but they are facebook friends. So what can i do. Is there anyone who has same matter.