When I use Facebook Login
(JavaScript) on my website, I receive the user id from Facebook in the browser.
Secondly I want to fetch some data from the database using said user id.
SELECT * FROM some_table WHERE user_id = 123400000001;
How can I pass the id to PHP without the user being able to alter the id?