I am trying to find a method to verify the existence of a Facebook user based on their ID.
As far as I understand, there is a Graph API that can provide a Facebook user's profile picture using their ID in this format:
I have noticed that if an invalid ID is entered, it results in an error message. However, my understanding of JavaScript is limited and I am unsure how to interpret these error messages.