14. The computer-implemented method of claim 13 , further comprising using an application programming interface (API) of the remote social networking system to log the user in to the social networking system before submitting the query.
13. A computer-implemented method comprising: receiving a query from a user; submitting the query to a remote social networking system; and receiving, from the remote social networking system, a result set comprising objects matching the query, the result set including a first object having a first type and obtained based on the query using a first search algorithm, and a second object having a second type different from the first type and obtained based on the query using a second search algorithm; wherein at least a plurality of the objects of the result set are ordered based at least in part on measures of affinities of the user for the objects, an affinity of the user for an object comprising at least one from a group consisting of: a distance on a social graph between the user and the object, and a similarity between the user and the object, the social graph having nodes corresponding to objects and edges corresponding to relationships of the objects.