User search API. Order of results not relevant


When I search for users on, results are always ordered as my friends/followers first and then unknown ones. But when I try the same thing from the API, the results are not ordered and I don’t see my friends/followers first. What do I do to get the same behaviour that I get on


Unfortunately the search API is not guaranteed to behave in the same way as search does on the web, and this is one of the differences.