The Facebook #Sourcing Tutorial Part 2.

Posted: 12/30/2014 in cracking, direct sourcing, facebook

Facebook is changing the graph and introducing a new, keyword-based search engine. This may result a way to run more complex Boolean syntaxes in the future, however, as an immediate effect, has blocked the old-way graph search possibilities. Remember the story when we asked questions like ‘people who studied at xyz’? Yep, that has totally gone with the new search engine…

This change has created the need to summarize the old-way graph search method as that is still running – but in the back-end. You though have to memorize and use the below commands to retrieve the results but hey! that is not a rocket science just bear with me for some time.

In my last graph search post I was mainly focusing on leveraging FB IDs in the search. Now I am showing you how to use the /str command (and so) to retrieve the most and best of the old keyword-based graph search.

/intersect

Before all, learn this /intersect command. This is the heart of the system!

intersect

The graph is built on set theory and intersection is the method how it generates results. A set is anything which members have something in common. For example, ‘people who speak English’ is a certain set. ‘People who speak Spanish’ is a different set.  ‘People who speak both English and Spanish’ is the intersection of these two previous sets. The /intersect command helps you create the cut (the mutual set) between two sets.

Tintersect3he graph is reading everything in a linear way, always. You have to apply a very simple way of command creation: only one thing after one thing and then intersect them to get the mutual set. Do not try to make it too complex – even if you are searching complex things. The way how you get there has to remain as simple as possible.

If you apply this logic carefully you will be able to look for cases like ‘people who speak German and are any type of engineers and have ever visited any type of NASA entities while currently working for Boeing’.

Its graph is indicated on the left – the target person is marked with the ‘sun’ icon in the middle. Wherever you see two sets being intersected by each other that is where you will have to build in the /intersect command in your URL.

/str

So this little command is probably the most powerful one and I try to explain why…

If you are running a certain ID-based search you always narrow your results to some specific cases. For instance, you want to find Google employees and run this one: /104958162837/employees/present/intersect where the long number is the Facebook ID of Google. With this search you find only those people who are using this exact (104958162837) Google page as their employer. You miss all the other Google companies that use different IDs.

The turnaround can be to use the /str command and run a search like this: /str/google/pages-named/ employees/current/intersect. With this command you get every person who uses Google as a word on their ‘Work and Education’ profile (that can be either their employer or a job title).

The basic structure of the /str command is as follows – remember this one, you can use this command in all the cases below!

  1. /str at the beginning and then
  2. add /your keyword(s) and then
  3. add /pages-named.

What follows this basic structure will depend on the rest of your query… but let us see some samples below!

/employees

The /employees command can be helpful in two cases:

1. This is how you find employees of a certain company: /str/your company name/pages-named (as above!) and then /employees/intersect.

You can search for current and past and ‘ever’ (anytime) employees by adding the /present /past and /ever commands after the /employees.

These are all the current Facebook employees, these ones are the former ones.

2. This is how you can search for job title with the /str command: str/your job title/pages-named/employees/intersect. I recommend you to use one-word-long job title keywords such as engineer or java or recruiter or so…

Note1: we use these commands to locate employer or job title searches, however, Facebook is doing nothing else than looking for these keywords on the ‘Work and Education’ tab under the ‘About’ section. So if someone’s job title contains the word ‘Google’ they will appear in the Google ‘employer’ search. prezi_final

Note2: Facebook is not running a verbatim search. In some cases, Facebook is bringing false positives (aka synonyms). On the right, run a search for prezi with /str/prezi/pages-named/employees/intersect and you will get profiles containing the word ‘presentation’ but not ‘prezi’.

3. Now it is time to combine these two ‘strings’. Pretty basically, you just put together these two commands each after each to get the results.

Here you go some current employees from Facebook who are former engineers.  These are people who currently work for Osram but are former Philips employees. These guys have worked for both Google, Yahoo and Facebook (uhmmm….most of them are probably fake profiles, what do you think?).

/speakers

This is certainly an obvious and a rather practical search term. Use the /str again like: /str/your language/pages-named/speakers.

The fun part is that many developers add the programming language as a real language so you can find people who ‘speak java’ or ‘speak ASP.NET’.

Again, you can combine all the above to find people who speak Spanish and deal with android as a current Google employee.

  1. /str/google/pages-named/employees/present/intersect
  2. /str/spanish/pages-named/speakers/intersect
  3. /str/android/pages-named/employees/intersect

/students

This was a very useful filter in the old graph (and I am totally confused why this has gone…).

Use the /str to target certain colleges and/or universities and/or just certifications. The way must be already familiar: /str/your uni/edu keyword/pages-named/students.

Use it, for instance, to find Cisco engineers like this. Or if you want to make sure these guys are indeed engineers you can combine it with a job title search like this.

Curious to see how many Cisco engineers Avaya has on Facebook? Click here then!:)

Note: you can add general keywords, too, to the studies. Use this /str/mba/pages-named/students to get everyone who mentions MBA on their education profile. Or use this /str/college/pages-named/students to get every type of colleges.

/places

Regarding the schools another helpful search can be to see all the universities and colleges in a certain location. This is where you can use the /places command.

/108051929285833/places/106078429431815/places-in/intersect – this brings every educational institute’s Facebook page out of London, UK.

places1You can also combine the /places with the above commands. This string 108051929285833/places/students/intersect brings everyone who has studied at a college or a university. The long number here (108051929285833) is the general page of College & University that is displayed on every other educational page (see right). 

placesRegarding the places I share a hint how to find their ID number in the shortest way as Facebook has made it pretty difficult.

  1. Add their name into the current search engine
  2. Go to Pages
  3. Click on the text saying n like this
  4. A new window opens and you will find the ID in the URL

/visitors

Since Facebook has acquired Instagram (and with that: removed Foursquare) I think, people are more open (or simply softly forced?) to check in on Facebook. This is certainly good for searching.

By using the /visitors command you can easily check who has been and where – and this info can reveal the professional interest and build the professional profile of a candidate.

This is how you can see which engineer has checked in at any NASA entities. Use the /str command as many times above… /str/nasa/pages-named/visitors/str/engineer/pages-named/employees/intersect 

And if you remember one of the very first samples above (‘people who speak German and are any type of engineers and have ever visited any type of NASA entities while currently working for Boeing’) this is how that string looks like:

  1. /str/boeing/pages-named/employees/present/intersect
  2. /str/nasa/pages-named/visitors/intersect
  3. /str/engineer/pages-named/employees/intersect
  4. /str/german/pages-named/speakers/intersect

/likers

Another cool command: shows you who has liked a page. It can be very easily used: just add the /likers command at the end of the ID. These are the folks who have liked our Sourcing Centre in Budapest.

…or these are the guys who have liked every page named iPhone.

…or these might be some potential candidates from Google who have liked Yahoo.:)

/residents

The /residents command works as before. You can also combine with the /str command such as /str/your location/pages-named/residents/intersect.

Here you identify some Alexander Mann Solutions employees out of Krakow.

  1. /str/krakow/pages-named/residents/present/intersect
  2. /str/alexander mann/pages-named/employees/intersect

and some final ones

You can search for groups by using the /groups command. Use this at the end of a string.

As a sample check which groups Sourcing Recruiters belong to who work for Amazon. Wow, you will find Amazon’s closed social recruiting group there…

You can still add /males or /females at the end of your string. Its use is pretty obvious.

Note: this gender-search is massively against the data privacy and legislation regulations in many countries on the globe. #ThinkBeforeYouSearch

Hope you enjoyed (well, at least appreciated) this long tutorial – in my next post I will come up with some super challenging real samples (and of course, smart solutions).

Happy New Year, Sourcers! May the spirit of the Goat be with you in 2015! 

YOU WILL FIND TMEH-EH-EH-EH!

 

Comments
  1. Randy Bailey says:

    Hey Balazs,

    Does this work for finding specific people? I had been using FB to xref to verify information or find a specific person’s profile. When I would come across many ‘John Smiths’, I’d then try to add another piece of information that I already knew about the person…

    “Friends of ‘John Smith’ that went to XYZ university”
    or
    People named “john Smith” that work at ABC Company…

    You could do this with a few different data points and inevitably find the right person. This what I am most frustrated with, with regards to the new graph search. It seems like they closed all the loop holes of what is public.

  2. Excellent post to clarify how you must modify your Facebook search methods in order to still work vs. your 2013 post on this topic. My only concern is that results still appear to be limited to friends and friends-of-friends (i.e., equivalent of 2nd degree on LinkedIn). For example, I am able to find additional qualifying results from profiles indexed by Pipl.com, TalentBin.com, etc. Do you have any suggestions around that?

  3. K.C. Donovan says:

    There is a lot to digest here Balazs…and I totally appreciate you sharing this data and “how to” tutorial.

    I have always felt that the limitations in employment data found on FB verses what is available on LI for example – wasn’t worth the trouble in trying to figure out a better way to “mine” FB’s treasure trove of possibilities – particularly with the latest changes in the Graph Search…

    Yet, what you are sharing makes want to re-think that idea…thanks!

    • Mark says:

      I think you are making these searches too complicated. You can still do “regular” searching without a lot of your boolean strings. For example, in the Sonoma Partners search above I would begin with: “people who work at sonoma partners” (omit quotes) in order to get a global search return (this will include your Miles Hastings). Once you get your results you can then drill down: people who work at sonoma partners and live in the united states. Miles is left out because he has not included his location. A global “shotgun” search is always the better option. You can always drill down later.

  4. Matt Bishop says:

    Is there an example you can show me for searching job titles etc on skills rather than companies. I.E. recruiting for Freight Clerks in a set UK location. I wouldn’t want to try and search on all companies i know, but rather people in the job roles i were looking for?

  5. Rachael says:

    Hey Balazs,

    Great article!

    Quick question: With the old Graph Search, I would usually use it to search videos and photos posted from particular locations, an ability that has obviously disappeared with the new search.

    A typical search of mine on the old Graph Search may be:

    — Video posts by people who live in London, United Kingdom

    — Photo posts by people who live in London, United Kingdom

    — Videos/photos posted from London, United Kingdom

    — Video posts about “protest” by people who live in London, United Kingdom (when using keywords).

    etc. It was a really useful search tool for my job, and I would love to be able to regain this abilty. Have you, or are you planning to write a blog post for help on these searches? It would be amazing if you did.

    Thanks,
    Rachael

  6. Rachael says:

    One more thing:

    Would also like to know how to find the “from this month” command.

    So:

    — Video posts from this month by people who live in London, United Kingdom

    I know you can simply search for videos in London, but the video posts option always used to bring up better search results.

  7. Thanks a lot for this tuto.
    I was wondering why some searchs were no more available.
    Anyway some requests are still ok. For instance : people who live in london and are nurses.
    Could you explain me why?

  8. basit says:

    hi the balazs, how about find people post about something and they are not my friends?
    i use facebook search and the url is

    https://www.facebook.com/search/str/people%20who%20are%20not%20my%20friends%20post%20about%20%22iphone%22/keywords_top
    how to use the custom url for get better searching

    and can u post about whats all the custom url query??

  9. Hi Balazs, I love this! I know that it’s a little more involved than the graph search of before, but if you take the time to learn it, it can be really helpful. I’ve already been tinkering around and keeping my strings by the “subject” so that I can copy out the sections I need and then tweak for location or job title, etc. Please keep digging at this, FB has been a useful tool for our business and I want to keep evolving our sourcing methodologies as it changes.

    • Mark says:

      Try typing the following into FB graph search:

      users who like (insert name of page or ID number of page) and live in (location name or ID number of location)

      No brackets

      Mark
      CyberTraining.ca

      • Mark, that hack would be fabulous if it actually works. Can you give an example where it does? I just tried users who like microsoftazure and live in 115963528414384 (basing this on pagename in URL of https://www.facebook.com/microsoftazure/info?tab=page_info and the ID for Houston, Texas) as well as people who… and neither one gets results. The only way it seems to work is if you type (note space needed before Azure): People who like Microsoft Azure and live in Houston (it will auto-redirect to results for People who like Microsoft Azure and live in Houston, Texas)

  10. Damon says:

    Love these tips. Really appreciate the effort put into explaining everything.

    Is there a string to find out how many people like a page from a certain location?

  11. Mark says:

    Glenn,

    When FB changed their search algorithms in Dec they made it so you could only effectively search your own, your friends and family accounts. We have also noticed that even the accounts we use to search FB have issues – we can search for the same thing using different accounts and either get a result or no result – for whatever reason it varies between users and their accounts. If you don’t get any results with one account try another one.

    For your search request “people who like Microsoft Azure and live in Houston” the search I would use is “ users who like Microsoft Azure and live in Houston, texas” FB seems to return better results when you use “users” instead of people. Doing this search I got lots of results for both. If you don’t get any results using this search string try either another computer or a different FB account.

    You are right about mixing id numbers with the example i listed above – my mistake, I replied before thinking : / However, the id searching does work but only for specific strings.

    Balazs is correct in saying FB doesn’t list numbers but social bakers will.

    Mark
    CyberTraining.ca

  12. Mark Pearce says:

    I watched a webinar through the RCSA yesterday and the speaker highlighted the following search tool: http://www.intel-sw.com/blog/facebook-search/

    No matter what search term I use, I’m told there are no search results. Is the search tool no longer valid or am I completely missing the point? Thanks in advance. Mark

    • thebalazs says:

      Hi Mark. Per my last info the tool is still working and bringing results. Give it a try!

      • Mark Pearce says:

        Thanks for your reply. Appreciated. I have tried to use the tool but it may be me not understanding the search strings to use.

        For example, I am trying to search for a Field Services Engineer in Perth, Western Australia. The Field Services Engineer search alone brings up a few people across the globe. However I’m struggling to understand the “AND” button function and how I can incorporate it into my search.

        I’ll have another read of the blog above and give myself a slap if I work it out.

      • Mark, you want those who currently live in Perth (that is all you should type in first field, selecting “Lives” in menu – don’t add Australia or anything else) and who have *ever* had the job Field Service Engineer (it appears FB also returns results that say Field Services Engineer with that), so that goes in a second field with “All Jobs” selected in menu. You get plenty of good results from that!

      • Mark says:

        That’s a neat search tool and I will definitely keep playing with it. However, I have always had a hard time trusting automated searches and always like to double check the results. For Mark’s search I would start my search using either:

        Users who work at field engineer and live in perth

        people who work at field engineer and live in perth

        The difference? Sometimes “user” shows more results than “people”

  13. What about the search I used to be able to do with Graph Search, “Pages liked by people who like [your organization]”? Is there a way to replicate that now?

  14. […] followers but you do have some technical savvy about search? Then you could try the queries that Balazs & the Magic Sourcing World […]

  15. I hope I’m not taking too much of your time, but could you try it with the ID 146980652019799?

  16. Lay Abouting says:

    Wow its work, thanks:)

  17. AndrewCS says:

    It doesn’t work for me – and nor do most of the links above. I don’t get it…? Are Facebook changing this? Or is there something I’m missing? I tried the search tool and a basic one such as “Speaks” and “Spanish” – but nothing.

  18. Mauro says:

    There a way to search by specifc age? Something like “people x years old”

  19. Andrej says:

    Balazs, how to combine these two queries?
    Pages liked by people who like MYPAGE and live in Minsk https://www.facebook.com/search/221843911198157/likers/pages-liked/intersect/str/minsk/residents/present

  20. jstremfel@yahoo.com says:

    Hi, I’m trying to create an intersecting search for (1) first and last name, (2) gender, (3) age range, and (4) place of residence. I’ve got it to work so far, but with only a single name. I can’t get it to work with inputting a second (or last) name. Any ideas? Here’s the search I have so far:

    https://www.facebook.com/search/str/joe/users-named/36/31/users-age-2/110970792260960/residents-near/males/intersect

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s