If you are looking at the raw HTML code (the "source") of a Facebook page to understand how it's built or to find specific IDs: View Page Source: Right-click any blank area of the page and select View Page Source Find Specific IDs: to search for strings like profile_id . This is often how users find the numerical ID (e.g., 100007980071184 ) associated with a profile. Inspect Element: To see the code for a button or image, right-click that item and select
Facebook aggressively monitors scraping. If you try to write a script to repeatedly fetch view-source of private profiles, you will be rate-limited, captcha’d, or banned. view sourcehttpsweb facebook
To view source code of any web page type view ... - Facebook If you are looking at the raw HTML
If you are looking at Facebook's source code because a tutorial told you it can reveal who has been looking at your profile, If you try to write a script to
If you visit https://web.facebook.com (the basic web version, often lighter than www.facebook.com ) and view the source, here’s what you’ll notice: