What does it take to get your social networking script approved?

My script was rejected, I upgraded it.
I’m using websocket now.
My script the basics, has only what is needed, It’s in its first version.
All system in websocket, notifications and chat.
Profile, news feed and has 2 languages, Portuguese and English, it automatically detects your language.

Hi. Which websockets/library do you use? Not every hosting plan supports socket servers running. You’d required an AJAX fallback if running a server like in NODE.JS is not possible with the hosting plan.

The script that was rejected had no websocket, it was basic, but in this current version I want websocket, I am aware that it not works on all servers.

I’m using, classPHPWebSocket.php