1. A method comprising: obtaining a plurality of photos associated with a target user in a social network system; detecting a face of one or more persons in the plurality of photos, wherein the detecting of each face includes applying a face detection algorithm; computing significance values for the faces, wherein each significance value indicates a degree of significance between the target user and each person represented by each face; generating a significance ranking of the significance values; determining a group of photos for the target user based on the significance ranking, wherein the determining of the group of photos includes applying a clustering algorithm to consolidate multiple appearances of a same face in the plurality of photos, and wherein the applying of the clustering algorithm includes: determining a quality value for each photo that includes the same face, wherein the quality value is based on a combined score of two or more of a face detection confidence score, size, visibility, sharpness, and a facial orientation estimate; generating a quality ranking of the quality values; and selecting a representative photo to represent the same face in the group of photos based on the quality ranking; transmitting the group of photos to the target user; and enabling the target user to take one or more predetermined actions associated with one or more photos of the group of photos.