How to Get Your Facebook Numeric ID?

Technology No Comments

Facebook numeric ID can be used for several purposes. One of the main use that we have seen is using Facebook ID to set admins who can moderate your Facebook comments (fb:admins) in your blog or website. For that you will be adding a code like <meta property=”fb:admins” content=”<YOUR_FACEBOOK_USER_ID>”/> before the </head> part of your website’s HTML code.

If you are not aware of Facebook numeric ID, then it is a unique number that is given to you when you join. That number can be used to identify you in that social network. Previous Facebook profile URLs used to be identified with the help if this numeric ID. Profile links looked something like http://facebook.com/profile.php?id=167784080039168. The part after the id= i.e. 167784080039168 in this example is the unique Facebook ID for a particular profile or page. But now because of vanity URLs, this id seems to have disappeared.

A Simple and Quick Tool to Find Facebook Numeric ID: This is our version of an online tool to extract Facebook userID using Facebook profile URL or username.

To figure out Facebook numeric ID for any profile or page using Facebook’s open graph:

    • Figure out the Facebook username for which you want the numeric ID.
      • To do so, visit the main profile page or timeline of a person. Get the username which is located right after www.facebook.com/.
      • Suppose a page’s url is www.facebook.com/ThisFoxOnline, then the last part i.e. ThisFoxOnline is the username.

 

    • Enter http://graph.facebook.com/<facebookusername> for example: http://graph.facebook.com/thisfoxonline into your browser and you will find some information displayed like:
      {
      "id": "167784080039168",
      "about": "Informing about the latest technology news and how tos.",
      "can_post": false,
      "category": "Website",
      "checkins": 0,
      "has_added_app": false,
      "is_community_page": false,
      "is_published": true,
      "likes": 4,
      "link": "https://www.facebook.com/ThisFoxOnline",
      "name": "ThisFox.com",
      "talking_about_count": 0,
      "username": "ThisFoxOnline",
      "website": "http://www.thisfox.com",
      "were_here_count": 0
      }

 

  • The “id”: part tells the Facebook ID. In this example it happens to be: “id”: “167784080039168“.

Usernames Without Vanity URLs

If a user has not chosen a vanity URL for their Facebook profile or page, then visit their main timeline and then see in your browser’s address bar. The URL will be like www.facebook.com/profile.php?id=167784080039168 or https://www.facebook.com/pages/Flash-Games/142423559106288. It is obvious that the numerical values in the link is the unique Facebook id for that profile or page.

Without Using Facebook’s Open Graph

There are also methods to figure out a user id without using Facebook’s open graph. These methods involve looking at the URL in your internet browser.

For example: For a photo a video link looks something like:

https://www.facebook.com/photo.php?fbid=457621127701424&set=a.187698028027070.41827.148786168584923&type=1&theater
https://www.facebook.com/photo.php?v=412888095517425&set=vb.257029061103330&type=2&theater

The last part of numbers after the final dot (.) is that user or page’s Facebook ID. It is shown in the example above i.e. 148786168584923 for the first picture URL and 257029061103330 for the second video URL. Note that the ID that you get here is the ID of the person or page who has originally posted the content.

You can confirm the ID by going to http://www.facebook.com/<id> i.e. http://www.facebook.com/148786168584923 to figure out the person or page that particular id belongs to.

You Might Be Interested In:
How to Find Facebook Profile Using .jpg Picture URLs like https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-ash3/t1.0-9/559380_369188349878036_1448593227_n.jpg

No Comments

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.