How to find your Facebook ID


This is the fastest to find your Facebook ID, Facebook hides the ID of these users, and there are all sorts of crazy ways documented on the Internet describing ways to find their user ID, but there is only one proper method.

To find the user ID of a named user, you must query the Open Graph. Every object within the Open Graph has a unique URL that can be inspected and will return information about that object. Users are no exception.

The URL to a named user is http://graph.facebook.com/your.name, and will return a JSON object containing information about that user:

Replace the "your.name" with your URL name. (Bild .2)



Like this the result:

{
"id": "557055802",
"name": "Your Name",
"first_name": "Your",
"last_name": "Name",
"link": "http://www.facebook.com/YourName",
"username": "yourname",
"gender": "male",
"locale": "de_DE"
}
Official wiyono blog