Patent ID: 9549031
Date: 2017-01-17
CPC Classifications: G06F,G06Q,H04L,H04W

Claim:
1. A method comprising: by one or more computing devices, receiving a request comprising an identifier for a first user of a social-networking system and a geographic location, the social-networking system comprising a social graph that comprises a plurality of nodes and edges connecting the nodes, each edge representing a relationship between two nodes; by the one or more computing devices, identifying one or more places in a vicinity of the geographic location, each of the one or more places represented by a corresponding node of the social graph; by the one or more computing devices, accessing for each place one or more location-based user-activity data items, wherein a location-based user-activity data item is based on (1) a relationship between a first node for the first user and one or more of the corresponding nodes of the social graph, (2) a relationship between a second node and one or more of the corresponding nodes, the second node corresponding to a second user connected in the social-networking system to the first user, or (3) a relationship between a set of nodes for a global set of users and one or more of the corresponding nodes of the social graph; by the one or more computing devices, determining, for each place, a ranking score based on (1) a distance component indicative of a distance between the geographic location and the place and (2) a social-context component based on one or more location-based user-activity data items corresponding to the place, wherein the social-context component is weighted based on how recently an activity corresponding to the location-based user-activity data item occurred; and by the one or more computing devices, sending, based on the ranking scores for the places, information associated with at least one of the places.