Me again — just gone ahead and moved your thread over to Mobile Phones.
I would say are you sure that your Wi-Fi connection is actually allowing access to the Internet? It's all well and good that you get a connection, but is the connection completely established and not limited? You could check this by going to your router page. Who's your ISP? I imagine this is a Wi-Fi only problem?
If everything fails, give your ISP a call or flush your DNS? You could also renew your lease for your network? This would assign you with a new internal IP (and other little bits) address — to do this, Settings -> Wi-Fi -> Click the information button next to your network -> Renew lease.
Same problem here..FB messenger just keep connecting status after I switched from wifi to SIM data..Al other apps is working well with the internet even Facebook is working except the messenger app. It only works after rebooting.