Patent ID: 8700636

Claim:
A method comprising: by one or more computing devices, selecting from a plurality of actions performed by one or more users of a social networking system a first action and one or more second actions, wherein each action has one or more attributes, and the first action comprises uploading content to the social networking system by a first user of the one or more users of the social networking system; computing a score for each second action by comparing the one or more attributes of each second action with the one or more attributes of the first action; ranking the one or more second actions according to the score computed for each second action; and selecting from the one or more second actions one or more highest-ranking second actions as being related to the first action, wherein selecting from the one or more second actions comprises: determining a time period associated with the uploaded content based on when the content was uploaded to the social networking system, determining one or more persons who are tagged in the uploaded content, selecting from the one or more persons one or more most-tagged persons, and selecting from the plurality of actions one or more actions that are associated with the one or more most-tagged persons and that match the time window determined for the uploaded content.