We know that you can access Facebook from various clients, such as browsers, android, iOS, etc. I know that via browser the HTTP protocol is used (obviously) with technologies such as AJAX and Comet (chat, real-time notifications).
Doubt:
What would be the best technology on the server side for mobile platforms (android, iOS) and browsers to interact with each other?
TCP sockets? HTTP / Restful requests? SOAP?
I gave Facebook as an example, to understand my need (cross-platform access).
Goal:
Develop cross-platform software that has the same platform-independent functionality.