Method 1: Using the profile URL
Every Facebook user has a unique profile URL, which consists of the person’s username and profile ID. The profile ID is a string of numbers found at the end of the URL. Follow these steps to find the user ID using the profile URL:
1. Log in to your Facebook account and search for the person’s profile you want to find the user ID.
2. Click on the person’s profile to open it.
3. Check the URL of the profile. It should be in the format of https://www..com/[username]/[profile-ID].
4. The profile ID is the number at the end of the URL. Copy the number to use it as the user ID.
Method 2: Viewing the page source
The page source option is a tool used by developers to view the source code of a webpage. It may not be an easy method, but it can be used to locate the user ID of a Facebook account. Follow these steps to find the user ID using the page source:
1. Log in to your Facebook account and visit the person’s profile you want to find the user ID.
2. Right-click on any area of the profile page and select “View page source” from the menu.
3. A new window will open, displaying the page source code. Use the shortcut “Ctrl + F” to open the search box.
4. In the search box, type “profile_id=” and look for the number after it.
5. The number following “profile_id=” is the user ID you are looking for.
Method 3: Using the Facebook Graph API
The Facebook Graph API is a tool used by app developers to get data from Facebook profiles. It can also be used to retrieve a user ID. Follow these steps to find the user ID using the Facebook Graph API:
1. Create a Facebook App and obtain an API access token.
2. Open the Graph API Explorer and enter the person’s profile URL in the search box.
3. Click on the “Submit” button, and the Graph API will display a JSON response containing data about the person’s account.
4. Look for the “id” field in the JSON response, and the number following it is the user ID.
In Conclusion
The user ID of a Facebook account is an essential piece of information that may be required for various reasons. The above methods are reliable ways of finding the user ID of an account on Facebook. With these methods, you can get to the user ID of any Facebook account, whether it is your friend’s account or a fake account. However, always remember to use this information only for its intended purpose and respect people’s privacy.