Suppose you have a following Facebook account:
https://www.facebook.com/letychicche
and you want to know the ID Facebook
The procedure is the following:
Get the the string after https://www.facebook.com/
https://www.facebook.com/letychicche
add the string into following url
http://graph.facebook.com/letychicche
the result will be
{
"id": "100008720192919",
"first_name": "Lety",
"last_name": "Chicche",
"link": "http://www.facebook.com/100008720192919",
"name": "Lety Chicche"
}