ALERT: At the moment, the regular Facebook search is not working. We are adjusting to the new interfaces and will update as soon as possible. This means that the matrix below does not currently work but the directories should still be good. Updates coming soon.
This file will collect useful Facebook search techniques and queries. Please help us keep it up to date by submitting new queries through our form.
Facebook uses ID numbers for everything in the system. If the string includes an ID number, a placeholder such as (place ID), (page ID), or (person ID) will be present and should be replaced with an ID number. Variables in the graph below are noted in red. Unless otherwise noted, all search queries start with facebook.com/search/ and may be combined with other searches by adding /intersect to the end. Example: https://www.facebook.com/search/114952118516947/residents/present/105702905593/likers/intersect
These searches can be blocked by making full use of Facebook privacy options.
Facebook is constantly changing so some of these that worked yesterday may not work today and yet might still work tomorrow.
This page is best viewed on, and the URLs are best used on laptops/desktops
Get a Facebook ID
Manually get a Facebook ID
Facebook changes the ways to get ID numbers in the URL periodically, although they are often still visible in certain page URLs. The best way to consistently get an ID manually is via the source code. Note that you do not have to be logged in to get the FBID.
On the main page of any user profile, right click on unused space. Use ctrl+U (command+option+U on OSX) or in the right click menu, choose “View Page Source”.
In the following page of HTML, use ctrl+F (command+F on OSX) and open a search tool. Search for entity_id and the following number will be the Facebook ID number of the user, group or page.
Note that in some cases the group or user page ID will be in the original URL and for a place, it will always be in the URL.
The Facebook directory can be used to find items that seem unsearchable by browsing alphabetically.
https://www.facebook.com/places (not working?)
https://www.facebook.com/directory/people_remain (does not show users with profiles denied to outside search engines?)
https://www.facebook.com/directory/events/ (not working?)
https://www.facebook.com/directory/events_directories/ (master events directory)
https://www.facebook.com/directory/events_links/ (browse by city)
https://www.facebook.com/directory/events_discovery/ (discover by city)
https://www.facebook.com/directory/events_az/ (browse by event name)
and possibly more.
Coming soon - example searches