php login and facebook login
-
12-12-2019 - |
Question
i don't understand how both can work. I wonna use users table, so is there any tutorial where facebook login and site login can work on same table ? I need from user to add/modify/delefe staff, but that is connected with users id.
Solution
I just store the user's facebook ID in the users table. This way, when a facebook login occurs, I grab the user's ID and process the login on my site as well.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow