Find out facebook user ID

  • In some cases (ex. when you need to set up SVC to connect with Facebook in a special way), you may need to know your own facebook user ID. Since most of us already set their facebook url, this ID is not shown any more in the browser's URL bar. There are several tricks and workarounds to find the user ID but here is the easiest one by using facebook's "graph API" service to find out the hidden ID:

    I will use facebook founder Mark Zuckerberg's page as an example: - as you see, here is no user ID in the URL

    now, simply add "graph" in front of the url (replace 'www' with 'graph'):

    after you load the page you will see the facebook ID with some other relevant data regarding to the given user.

    "id": "4",
    "name": "Mark Zuckerberg",
    "first_name": "Mark",
    "last_name": "Zuckerberg",
    "link": "",
    "username": "zuck",
    "gender": "male",
    "locale": "en_US"

Log in to reply