Getting Your Facebook Numeric User ID
April 8, 2011

If you have set user your user name via the Account Setting, it can be very hard to find your numeric user id. In fact, it’s annoyingly hard. I don’t know why this information is not somewhere obvious, like in your Account Setting section.

Why can’t they put it there? It’s not like the user id is a secret, and it’s needed if you need to put yourself as fb:admins as admins in the Like Button Widget or other Open Graph stuff.

Anyway, there have been several ways to get the user name, usualy involving rolling over your real name in the Facebook page or posting a message. These may or may not work at this time (I know the rollover doesn’t work today). An alternative, more sure-fire way is to use the Graph API service, by entering this in your browser:


The result will be something like this:

   "id": "100001207562934",
   "name": "Your Name",
   "first_name": "Your First Name",
   "last_name": "Your Last Name",
   "username": "yourUserName",
   "gender": "male",
   "locale": "en_US"

The id is your user id.