Search Using Advanced Syntax
The Advanced Search Syntax is a very useful and powerful way of searching based on multiple criteria.
The guidelines for performing a user search with Advanced Syntax in the Search field are:
- Search criteria and operators are case insensitive and lowercase or uppercase are both ok.
- The operator OR returns users with either word in the search field. e.g., marketing OR social returns all users with either either of these two words.
- The operator NOT returns all users without that specific word in the search field. e.g., marketing NOT social returns users with marketing but not social.
- The operator AND or a space returns users with both words in the search field. e.g., marketing AND social (marketing social) returns users with both marketing and social.
- Single or Double quotations search for an exact phrase, e.g., ‘social media’ or “social media”. (note this doesn’t apply the operator url ie: for url:”www.myurl.com” )
- Parentheses can be used to force the priority of the operators. e.g., (bio:marketing OR bio:social) AND location:Madrid is a different search to bio:marketing OR (bio:social AND location:Madrid)
For example, let’s say you want to search for Twitter users based in Boston or London, with the words Marketing or Social in their bios. There are two ways to do this. You can use the bio and location fields in the Search/Filter Sidebar, and enter your keywords in either lowercase or uppercase.
Another option is to use the general search field at the top of the sidebar. The search categories must be in in lowercase only (name, bio, location) and be followed by a colon (:). Again, the search criteria itself is not case sensitive so both uppercase and lowercase are ok.
e.g., (bio:marketing OR bio:social) AND (location:boston OR location:london)
You can also use the general top search field of the sidebar to to perform a general search. If you don’t specify name:, bio: or location: and enter the term “marketing” this will be searched for in the name, bio and location of the users.
Other search options are to search by language, time zone, country, or URL.
- For language searches write: lang:_____
To find out which of your followers have twitter.com configured in English in the main search field write lang:en.
For language searches you must use the ISO Letter Language Codes. Use lowercase only, for example, en=English, es=Spanish, de=German, ja=Japanese, pt=Portuguese, ru=Russian, it=Italian, fr=French, nl=Dutch.
- For time zone searches write: timezone:_____
For example, to find those users who use the Madrid time zone write: timezone:madrid.
- For country searches write: country:_____
For example, to find those users in Spain write: country:ES
For country searches you must use the ISO Letter Country Codes. Use uppercase only, for example, GB=Great Britain, ES=Spain, DE=Germany, JP=Japan, PT=Portugal, RU=Russian Federation, IT=Italy, FR=France, NL=Netherlands.
- For URL searches write: url:_____
For example, to find out which of your followers have a specific url in their bio in the main search field write: url:”www.myurl.com”
Note that this search will also return URLs like www.myurl.com/page1.
Another very useful search option is to search the notes you have applied to any users.
- For notes searches write: notes:_____
For example, to find those users with the word “important” in their notes write: notes:important.
SocialBro will return any user whose notes match this search criteria.