So right now I'm identifying the user via their email [given that they allow it during the Facebook log in process]. But I feel people are able to change their main email address associated with their account, and if they do, it might mess up my app.
So is it better to use their Facebook id
instead of email
? I believe id
is permanent and unique to an individual's Facebook account, correct?
$user['email']
or $user['id']
?