Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to use facebook's js sdk for login. I would like to have a user login, get their email, use ajax to send the email to my server, and than store the email in a database. The problem I am seeing is that if I get the user to login using js, the call to the api would be done in js, and the callback would be in js. So when I get the email from facebook and I want to send it to my server, what would stop a user from changing the facebook response (email) before sending it up to my server? Is there any workaround for this? Do I have to use the php sdk instead? I would like to avoid php if I could for server load issues.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900