I Have a new project at work. It will require server to server and client to server messaging on a cross domain basis, just like the Facebook API. Where can I find good resources about this subject?
The main questions are:
- Should we prefer using an iframe in the 'client' site or a script?
- How do you create the handshake? both in client-to-server and server-to-server code?
- How do I make this process secure? How do I validate the origin of the request?
I know this is a broad topic, but I'm not really familiar with it, and I'd like a push in the right direction.