Currently, I have a client application built in Flash running on a server application developed in C++ for Linux. These two communicate via a TCP socket, with the server handling all game logic and client communication.
As part of deploying my application to a website, embedding the SWF file has been straightforward and is working as intended.
My goal now is to save statistical data about users by using Facebook login to uniquely identify them and store their information in a MySQL database.
The challenge I'm facing is how to transfer the Facebook user information from the JavaScript component of my server application (index.html using Apache) to the C++ portion of the server where the game logic and database management reside. This step is crucial for me to obtain a user's unique ID for database purposes.
Is it feasible to relay this information from JavaScript to the C++ application effectively?