Facebook Graph Operators 2018
Facebook Graph Operators 2018
Time frames
/past
specifies past, present and ever as a
/present requirement to a search
/ever-past
Events
/str/name/users-named/events-joined/year/date/events/
Events someone joined in a past
/events-joined/year/date/events/ (not working - July year
2018)
/me/events-near
events near me or events near a
/place id/events-near
place
/str/place name/pages-named/events
/likers
people who like a Facebook page
/str/page name or keyword/pages-named/likers/
Groups
/friends
full details on someone's friends
(unless friends list is hidden)
/wives
see also /boyfriends /girlfriends /children /husbands
/aunts /uncles /sons /stepsons /brothers-in-law
someone's family members
/daughters /siblings /grandparents /grandmothers
/grandfathers and /cousins. Add /friends to get their
friends.
/places-checked-in
/users-birth-place
/home-residents
Language speakers
/speakers
people who speak a language
/str/keyword/pages-named/speakers
Professions
Profession Codes
lawyers 112696438745118
Investigators 143544082337251
Accountants 112926212054966
Managers 112892498724794
CEO's 112032368815466
Treasurers 112732928742174
Administrators 143418082353057
Actors 113227362021025
Teachers 108464855840777
Trainers 107738079249033
Architects 108031252558282
Nurses 113599041983855
Dentists 119880341359563
Optometrists 112544782094996
Models 106216656075289
Strippers 112231702136450
Librarians 112282248788333
Education
schools/universities attended by
/schools-attended
someone
/users-religious-view
specify peoples' beliefs
/str/keyword/pages-named/users-religious-view
Religion Codes
Protestants 106274162745013
Catholics 102144649827989
Muslims 106078429431815
Hindu 109107252447873
Buddhist 114761101868288
Shinto 112268618789811
Atheists 111235122235077
Satanists 109491989070706
Scientologists 103822469656893
Jedi 108069459214854
Mormon 112325998784231
Vegan 263557043786425
/users-political-view
Politics codes
Conservatives 104082972962342
Socialists 103794206325342
Liberals 114494755234706
Users' age
Gender
Links
Netbootcamp
Whopostedwhat
Graph Searching
By formulating a special web address, we can use Facebook's older "Graph" search and,
with patience and imagination, we can use this to perform amazing searches.
These special search web addresses all begin with the prefix
https://www.facebook.com/search/ and are followed by a combination of ID numbers
and special "search operator" commands.
There are two main styles of Graph searching Facebook; a search with ID numbers and
and a search with words (or "strings" in nerd-speak ). Both have their strengths and
weaknesses.
Searching with ID numbers is precise and will directly only on the person or page with a
certain ID number. You can use sites like findmyfbid.com and lookup-id.com to look up
the ID associated with a Facebook account or page.
A graph search for places visited by Mark will use this Facebook ID number and the
search operator "places-visited". The search web address will look like this.
https://www.facebook.com/search/4/places-visited/
Searching with strings is less precise than using Facebook ID numbers, but more
flexible ("fuzzy" in nerd-speak).
A search for places visited by *anyone* named Mark will use the code "str" followed by
the name and will look like this:
https://www.facebook.com/search/str/mark/users-named/places-visited/
Intersecting multiple searches
Sometimes you'll want to create cool tailored searches that meet your needs. These can
include a combination of factors and involve multiple strings and ID numbers.
For example, we might want to find people named Mark who have visited Boston in
Lincolnshire, UK. If we did this entirely with strings, we might get Boston in
Massachusetts, instead, as Facebook wouldn't know which Boston we wanted.
If we added the Facebook ID number for the UK city, 106646729369602, we would get
the Boston in England. The search looks like this:
Using /union will allow you to add in option possibilities, for example a search for
people named Mark or Tony who have visited Boston.
I have compiled the above list of Facebook graph search operators. Sometimes
they work, other times they are suspended. Please let me know if you discover
more or need any training on how to use them.
Paul Myers
July 2018
(c) Paul Myers 2016. The views expressed on this site are the author's own. The links do not represent an endorsement.
altered banner image (c) Jan Krömer, used with gratitude via creative commons license