Get or Find Facebook Profile Id Number
Posted by in Facebook Graph API March 14, 2011 25 Comments

If you completely forgot your Facebook Profile ID Number or you did make short link for you Facebook profile url and for some reasons, you really need the number. This post will let you know how to find your Facebook profile ID Number.

From the beginning, you can get the number from your profile url by clicking click on the “Profile” tab in the upper right hand corner:

It’s something likes:

http://www.facebook.com/profile.php?id=1258565465

So, if you forgot that number, the number which is highlighted above, you can get it from these ways:

1. Use Facebook Graph API

After logged in to your Facebook account, copy and paste the url below associate with your facebook username:

https://graph.facebook.com/your_user_name

Replace your_user_name with your current Facebook username, if you have already customize your Facebook Profile URL.

Example, my Facebook username is hoanhuynhtrong, so simply access the url below, after logged in successful – of cause, I will get my current number and maybe some extra information (name, first_name, last_name, link, gender, locale, …):

https://graph.facebook.com/hoanhuynhtrong

Output:

{
   "id": "1258565465",
   "name": "Hoan Huynh",
   "first_name": "Hoan",
   "last_name": "Huynh",
   "link": "http://www.facebook.com/hoanhuynhtrong",
   "gender": "male",
   "locale": "en_US"
}

The responses are in JSON format but it’s easy for us to find current Facebook ID is: 1258565465.

Note: https://graph.facebook.com/hoanhuynhtrong and https://graph.facebook.com/1258565465 will have the same responses with JSON format.

2. Facebook API User Profile

It’s another way to do this is. Successful logged in is also required.

Access link below:

http://developers.facebook.com/docs/reference/api/user/

It will show something like picture below:

facebook-user-profile-graph-api

facebook-user-profile-graph-api

Let click on the link: “https://graph.facebook.com/me (current user)”

You will also get responses in JSON format which is very similar to the first way:

{
   "id": "1258565465",
   "name": "Hoan Huynh",
   "first_name": "Hoan",
   "last_name": "Huynh",
   "link": "http://www.facebook.com/hoanhuynhtrong",
   "birthday": "06/13/1983",
   "hometown": {
      "id": "108458769184495",
      "name": "Ho Chi Minh City, Vietnam"
   },
   "work": [
      {
         "employer": {
            "id": "104946252878693",
            "name": "Who Digital"
         },
         "with": [
            {
               "id": "658451210",
               "name": "Abbey Phuong-Anh Huynh"
            }
         ],
         "start_date": "0000-00"
      }
   ],
   "gender": "male",
   "relationship_status": "In a relationship",
   "significant_other": {
      "name": "Chau Nguyen",
      "id": "1455307165"
   },
   "website": "http://vuvu.mobi\r\nhttp://rapid-dev.net\r\nhttp://websitestatinfo.com",
   "timezone": 7,
   "locale": "en_US",
   "verified": true,
   "updated_time": "2011-01-17T06:18:02+0000"
}

There are several ways on the Internet may help to do this by checking the html source code behind based on photos, albums or profile page but I think 2 ways above should be easier for you with just 1 click. :)

And I think this tutorial can apply if you want to find Fan Pages or Application Facebook ID.

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at hoan@4rapiddev.com
  • http://facebook danilo giovannetti

    non riesco ad entrare su facebook

  • http://www.register-domainname.in Domain registration india

    I am facebook what i have never think about this, Could you please tell me , What is the benefits of this?

  • http://www.howmakemoneyblog.com Vinny@howmakemoneyblog.com

    Thanks for the great info. I was struggling to find my profile id because of the user name shown by FB. The resulted JASON query helped a lot.

    Regards

  • http://www.webdesigninmelbourne.com.au Web Design in Melbourne

    A great post helped finding profile id using username. It helped me to get through with my FB Fanpage for one of my clients firm on my SSL domain name.

    thanks

  • http://pakyoungers.com Real Hyder

    Workingggggggggggggggggg. Thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks : )))))))))))))))

    • http://www.google.com/ Tuesday

      More posts of this quality. Not the usual c***, pelsae

  • http://www.google.com/ Zarya

    Many many quality pontis there.

  • http://www.google.com/ Bryson

    Oh yeah, faulbous stuff there you!

  • http://hostingalojamientoweb.blogspot.com/ Web hosting in Spanish

    this is exactly the information I was Looking for about facebook , thanks for the help

  • http://www.ln40d630tv.com Jake@LN40D630

    Thanks for this, very helpful!

  • Mike

    Just want to say thank you.

  • http://www.seocheaper.com/backlinkbrigand How Do You Build Backlinks

    Magnificent beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog site? The account helped me a applicable deal. I had been a little bit acquainted of this your broadcast offered bright transparent idea

  • siddharth

    Hi,

    Can I access my Facebook Friend’s Profile data?…if yes than how…

    Thanks,
    SId.

  • sadaf raja

    hi

    • hoanhuynh

      yes?

  • http://www.hosting-forum.in/ Web hosting forums

    Great concept,thanks for sharing,keep on posting.

  • Bill Oddie

    Cheers.
    In facebook, type into a comments or status box (where you see “at” put the @ symbol):
    “at”[168822749844918:0]

    • hoanhuynh

      Not sure what you mean, could you explain more. Thank you.

  • http://tinyurl.com/7ahawgg antivirus mac

    This piece of writing is in fact a pleasant one it assists new web users, who are wishing for blogging.

  • http://www.vanandman24-7.co.uk/contact.html Man And A Van London

    brilliant piece of writing.. I honestly enjoyed going through it all, and many thanks for the tips and information !!

  • Tim

    Very helpful, Solved my issue, thanks hoanhuynhtrong

  • http://4rapiddev.com/ Hoan Huynh

    We also can use this method to get the ID of Facebook Fan Page. Ex: https://graph.facebook.com/4.Rapid.Development

  • http://www.socialcubix.com/ Facebook Development

    Pretty nice piece of work, anyone can be glade to find this.

  • Chessie

    Thank you!  This did the trick for me.