Your Facebook ID is a unique string of numbers that serves as the permanent address for your profile or page. While you rarely need to use it in daily browsing, this identifier becomes essential when configuring advanced app permissions, integrating third-party analytics, or managing advertising APIs. Finding it is straightforward, and you can locate it through several different methods depending on your specific needs and the device you are using.
Understanding What a Facebook ID Is
Before you begin the search, it helps to understand what this string of digits actually represents. This ID is the foundational numerical identifier assigned by Facebook to every single account and page on the platform. Unlike your username, which can change, or your URL, which is a custom vanity address, this number is static and immutable, making it the true core of your account’s database.
Finding Your ID on Desktop Browser
The most traditional method involves viewing the page source of your profile directly. This technique works consistently across Chrome, Firefox, and Safari on a computer. By inspecting the raw HTML, you can see the ID embedded within the metadata tags that most users never see.
Open Facebook in your preferred desktop browser while logged in.
Right-click anywhere on the profile page and select "View Page Source" or "Inspect".
Press Ctrl + F to open the find bar and search for "profile_id" or "fb_dtsg".
The value immediately following this string in the code is your numerical ID.
Finding Your ID via Mobile Settings
Mobile users can access this information directly through the official app’s settings menu. This method is often the quickest for smartphone users because it avoids the technical step of viewing code and presents the data in a clean, readable format.
Launch the Facebook app on your iPhone or Android device.
Tap the menu icon (three lines) and scroll down to "Settings & Privacy".
Select "Settings" and then navigate to "Your Facebook Information".
Tap on "Account Information" and you will see your numerical User ID listed at the top of the screen.
Locating a Business Page ID
If you are looking for the identifier of a Page rather than a personal profile, the process requires a slightly different path. Pages are treated as separate entities, and their IDs are found in the page settings rather than the main profile menu.
Navigate to the Facebook Page for which you need the ID.
Click the "Settings" button located at the top right of the page admin panel.
In the left-hand menu, select "Page Info".
Scroll down to the "Page ID" section, where the number will be displayed for copying.
Using the Graph API Explorer
For developers or users comfortable with command-line interfaces, the Graph API provides a programmatic way to verify identity. This tool is the backend mechanism Facebook uses to power login systems for thousands of third-party applications.
Visit the Facebook Graph API Explorer tool on the developer website.
Log in with your credentials and grant the necessary permissions.
Type "me" into the debug tool and submit the query.
The JSON response will return your ID along with other public profile fields.
Interpreting the URL Structure
In some older interfaces or specific developer contexts, the ID is visible directly in the web address bar. Although Facebook has been moving away from exposing IDs in URLs for privacy, you may still encounter this format in legacy systems or specific redirect messages.