How to find Facebook ID

Perhaps not everyone knows that, but Facebook assigns an identification code to each of its users, and each page is created within its network. Provides ie to apply a sort of “label” to recognize people and pages in a precise manner.

This code is called very commonly ID, and even if you do not need to know much in everyday use of Facebook, discover your own or maybe one of your friends can be fun.

In addition, we point out that the ID may be required for installation of some plug-ins for the promotion of fan pages on websites and blogs. So, what do you say? Want to know how to find Facebook ID? Well, you can find all the instructions you need below.

The first step you need to take to find your Facebook ID or your friend go to the person on the social network, click on the address bar of your browser and write down the address you see on the inside.

  • If the address has a format like facebook.com/name.surname.xx write you have everything you need after a forward slash (so nome.cognome.xx).
  • If the address on the other hand has a format like you did facebook.com/profile.php?id=12345678 directly “Bingo”, because the ID you are looking for is the number located after the equal sign.
    How to find Facebook ID

how to find id facebook

Take for example the profile of Facebook founder, Mark Zuckerberg, whose address ends with zuck, that is his nickname.

To find Facebook ID on the personal page you can draw on the resources of Facebook Graph for developers, thanks to a little “trick” can reveal various information about users of the social network, including their identification code.

I know, that seems like a difficult thing. But no, you’re wrong! All you need to do to go back to a Facebook ID using these tools is to open a new browser tab and connect to the following address.

http://graph.facebook.com/[name] where instead of “[name]” You need to enter the name that I have clocked above, that at the end of the address of the page.
As a result you’ll get a page of plain text with inside information like in the box below.

{
“id”: “4”,
“first_name”: “Mark”,
“gender”: “male”,
“last_name”: “Zuckerberg”,
“link”: “https://www.facebook.com/zuck”,
“locale”: “en_US”,
“name”: “Mark Zuckerberg”,
“username”: “zuck”
}


The ID of the person (or page) is as easy to understand, the one shown after the word “id”. In the case of 4 Zuckerberg.

Did you expect to be “1”, right? But no. The first three Facebook users were fake profiles used by Zuckerberg himself when he designed the social networks. These profiles are no longer available, but he remained the ID number 4.

How to find Facebook ID

Another way to find Facebook ID of a person or a fan page is open at the page source and search inside the code. Also in this case it is a very simple.

Both Chrome and Firefox just right click anywhere on the page and select View Page Source from the menu that appears. On the page that opens, then you have to activate the search tool (Ctrl + F on Windows or Cmd + F on a Mac) and find the string that begins with profile_id.