+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
    • Rich Text Editor
    • 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

Hide From Certain Friends On Facebook Chat

14 years ago
select-all-friends-for-invitation-to-fan-page
Facebook

Facebook Trick: Javascript to Select All Friends for Fan Page / Event Invitation

13 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop 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
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

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