How to pass Facebook Id from client to server securely
问题 I have a Facebook canvas app. I am using the JS SDK to authenticate the user on the browser-side and request various information via FB.api (e.g. name, friends, etc.). I also want to persist some additional user information (not held on Facebook) to the database on my server by making an ajax call: { userFavouriteColour: "Red" } To save this on the server and associate with the correct user, I need to know the Facebook uid and this presents a problem. How do I pass the uid from the client to