1. A method comprising: receiving, by one or more computing devices, a search query from a first user of a social-networking system, the social-networking system comprising a graph that comprises a plurality of nodes and edges connecting the nodes, at least one node in the graph corresponding to the first user; identifying, by the one or more computing devices, one or more web pages responsive to the search query; for each of the web pages, determining, by the one or more computing devices, a value based at least in part on a number of interactions with the web page by one or more second users of the social-networking system, for each of the second users at least one node in the graph corresponding to the second user, at least one of the nodes corresponding to the first user and at least one of the nodes corresponding to a second user being connected to each other by one or more edges; and providing, by the one or more computing devices, a search results page responsive to the received search query, the search results page comprising a link for each one of the web pages with a value that is greater than a pre-determined minimum value.
1. A method comprising: receiving, by one or more computing devices, a search query from a first user of a social-networking system, the social-networking system comprising a graph that comprises a plurality of nodes and edges connecting the nodes, at least one node in the graph corresponding to the first user; identifying, by the one or more computing devices, one or more web pages responsive to the search query; for each of the web pages, determining, by the one or more computing devices, a value based at least in part on a number of interactions with the web page by one or more second users of the social-networking system, for each of the second users at least one node in the graph corresponding to the second user, at least one of the nodes corresponding to the first user and at least one of the nodes corresponding to a second user being connected to each other by one or more edges; and providing, by the one or more computing devices, a search results page responsive to the received search query, the search results page comprising a link for each one of the web pages with a value that is greater than a pre-determined minimum value. 4. The method of claim 1 , further comprising ranking the web pages at least in part based on their values.