+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
    • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Facebook
How To Find A Facebook User Or Page ID

How To Find A Facebook User Or Page ID

Wale Adekile
November 18, 2011

These days, you’re sometimes asked to provide your facebook user ID when filling some forms online and some of us don’t even have a clue what this is. You might even need the profile ID of a page for certain reasons and this can be a real challenge especially if the profile in question already has a username. Since most facebook profiles now have vanity URLs, you can’t get the profile ID just looking at the address bar, all you’re gonna see is the username. So how do you get such profile ID for profiles with custom address?


Users Or Pages Without A Username

For pages or users who do not already have a facebook username, you can get the profile ID by just going to the profile, checking your address bar and copying out the last set numbers in the URL. For example, the ID for this profile is shown in red:

www.facebook.com/profile.php?id=1234567890000



Facebook Users Or Pages With Custom URL or Username

For profiles with vanity URL replacing the one with profile ID, there are so many ways to find the ID and there are even some facebook applications created just for this. There is, however, one method that’s the easiest of all.


To find the user ID of a named user, you must query the Open Graph. Every object within the Open Graph has a unique URL that can be inspected and will return information about that object. Users and pages are no exception.

For my facebook profile which is http://www.facebook.com/doncaprio

All you’re going to need is my facebook username which is doncaprio

Launch this in your browser http://graph.facebook.com/doncaprio

You should see something that looks like this:

{
“id”: “1167126869“,
“name”: “Don Caprio”,
“first_name”: “Don”,
“last_name”: “Caprio”,
“link”: “http://www.facebook.com/doncaprio”,
“username”: “doncaprio”,
“gender”: “male”,
“locale”: “en_US”
}

The user ID is specified in the id property. Simply copy this value (without the quotation marks). The same goes any user profile of facebook fan page. You only need to add the username after http://graph.facebook.com/ to get the ID.


Previous Post
Google Adsense Approval Trick Through Third Party Sites?
Next Post
Using Custom Links In Facebook Status Updates And Wall Posts
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
facebook email change
Facebook

Facebook Changes all Emails to @Facebook: How to Get yours Fixed

14 years ago
Facebook

How To Stop Unwanted Facebook Notifications From Close Friends

14 years ago

Recent Articles

yunmai massage gun mini 2.
Yunmai Massage Gun Mini 2 Review
BenQ LaptopBar Review: The Accessory I didn’t Know I Needed
teendow g20
Teendow Robot Vacuum G20 Review
Yunmai EasePro Massage Gun Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
How to Use WhatsApp on an iPad
Things to Consider When Buying a MacBook
programmer
Learning to Code: A Comprehensive Guide for Beginners
identity thief
How to Efficiently Prevent Identity Theft

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy