Advanced Search Syntax to discover new Twitter users

The Advanced Search Syntax is a very useful and powerful way of searching based on multiple criteria. Let’s say for example, you wanted to search for Twitter users based in Boston or London, with the words Marketing or Social in their bios.

To do this, you would use the search bar in the left-hand navigation bar, and enter your keywords (in lowercase only):

location:boston+london bio:marketing+social

ug advanced syntax

The guidelines for performing a user search with Advanced Syntax are:

  • All characters without spaces.
  • Words must be written in lower case.
  • Two words with no punctuation eg. marketing+social (a Twitter Search seeks both words in a users bio).
  • The sign + means “OR”.
  • The sign – means “NOT”.
  • Double quotations searches for an exact phrase, eg. “social media”.
  • For name searches write: name:_____
  • For bio searches write: bio:_____
  • For location searches write: location:_____

If you’re searching by name, bio or location you can also use the filter menu. However, there is a feature that is not on this menu that is to search for a URL. If you want to find all the people in your community who use their LinkedIn profile in their Twitter bio write: url:linkedin. Or their Facebook profile: url:facebook.

[UPDATE] We’ve added two more filters: by language and by time zone.

Would you like to know which of your followers have configured in English and in Spanish? In the search box write “lang:en + lang:es”. For the languages, you must use the “ISO 2 Letter Language Codes”: ‘es’:’Spanish’, ‘de’:’German’, ‘ja’:’Japanese’, ‘ko’:’Korean’, tr’:’Turkish’, ‘pt’:’Portuguese’,  ’ru’:’Russian’, ‘en’:’English’, ‘it’:’Italian’, ‘fr’:’French’, ‘id’:’Indonesian’, ‘nl’:’Dutch’.

To search by different time zones, use the same rule: “timezone:madrid + timezone:london”.

Go to the next section – Managing your community