3 ways to find out the Facebook profile id

Last updated on By

Every user on Facebook has a unique profile id. Whether you are a Facebook app developer or a regular user, there are several reasons why you would want to know the Facebook profile user id of someone. Let’s take a look at the different ways you can find out the profile id of someone.

Method 1 : Identifying the profile id from URL

If you have been using Facebook for some time, by now, you have probably realized that each user has a unique profile URL that allows you to go directly to that person’s profile page.

You can extract the profile id from anyone’s profile URL, whether they have customized their profile URL or not.

  • Non-customized Profile URL

When you sign up on Facebook, you are given a profile URL with a long series of digits appended to it. For example, here’s the link to my profile page:

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

As you can see, the profile id is 100000745225888.

  • Customized Profile URL

Facebook allows you to customize your Facebook profile URL by adding a username to it. Let’s take a look at Mark Zuckerberg Profile link: http://www.facebook.com/zuck

This is an example of a customized profile link. In this case, the profile ID is not visible but worry not, all you have to do is replace www by graph in the URL i.e

http://graph.facebook.com/zuck

Navigate to this page to get the profile id of Mark Zuckerberg.

 

Method 2 :Extracting Profile ID from photos

If you have ever saved a Facebook photo to your computer, you may have noticed that it contains a series of numbers separated by underscores. One of these numbers contain the profile id that points to theΒ  user who uploaded the photo. Right-click on the profile picture, select Copy Image Location and paste it in your favorite text editor (Notepad or MS Word). The second set of numbers in the photo name is actually the profile id.

Update: Method 2 no longer works in 2015. It seems that Facebook has removed the profile id from a photo name.

Method 3 : Dig up your old Emails

 

This method is pretty handy if you are unable to go to the person’s profile in certain circumstances, for example, if the person has blocked you or disabled his profile. You might want to find out his or her profile id in order to verify if your friend is still on Facebook or has blocked you.

Assuming that you do not delete your Facebook email notifications, head up to your email and search for the email when Facebook notified you that you are now friends with that person. If you got zillions emails like me and is struggling to find that mail, a common phrase to search for is “wants to be friends with you on Facebook“. Open that mail and copy the link of the Confirm Request button link in a notepad.

 

 

Look for the value of the ‘f’ parameter in the long URL. For the non-geek that have no idea what my previous sentence means, see the below screenshot what you should be searching for in the link.

That’s all folks! If you know of any other method let me know in the comment section below πŸ™‚

18 Comments to 3 ways to find out the Facebook profile id

  1. Bolo Yeung

    “Extract from photos” was my favourite… unfortunately it doesn’t seem to work anymore!

    • Thanks for pointing this out Bolo . I just tried it myself and unfortunately it does not seem to work anymore.

      • Hi, you seem to know your stuff about fb. Can you tell me why in fb chat & messenger on my phone a friend now only shows up with a mobile phone sign against her name and no longer tells me when she was last active? – does this mean she has blocked me from chat? Thanks

  2. Edit : Actually it does work if you get the image link of the small display of the profile picture . It only stopped working when you view the photos of the user . So you still have a way to grap the profile id from photos πŸ™‚

  3. Thanks for sharing this tip with us hayder . I’ll bookmark this article . It might come in handy in the future πŸ™‚

  4. The extract from photo does not seem to work anymore. But the other two methods to get Facebook profile id is working perfectly. Thanks πŸ™‚

  5. If this person liked a photo and it still says 4 likes but that persons name disappeared and there are only 3 names left under the likes does that mean his account has been deleted?

  6. If I block someone then how do I know that person block me too? I tried opening a new account to checked that person but after sitting up the account and searching the person I blocked. I can’t find him on the list of name I search. The engine show me the same name but not the right person I’m looking. Is their a possibility or true if I block someone then I unblock that person then that person block me too. When I access that person profile I can’t access his profile since that person block me? Does it mean I can’t see that person profile? How to access the person profile I block and that person incase block me? How to verify this?

  7. {
    “error”: {
    “message”: “(#803) Cannot query users by their username (zuck)”,
    “type”: “OAuthException”,
    “code”: 803
    }
    }
    Why??

    • Hayder Abbass

      Mukunda,

      Unfortunately, you cannot get someone’s profile url from the Facebook mobile app. However, if you logged into Facebook using your mobile browser, you will be able to see it from the address bar.

Leave a Reply

Your email address will not be published. Required fields are marked *