Abstract:
In one embodiment, a method includes receiving, from a client system associated with a first user of the online social network, an indication of a check-in at a geographical location by the first user, generating multiple reaction-cards based at least in part on the check-in, each reaction-card being associated with a structured query referencing the geographical location, each reaction-card including one or more search results matching the structured query associated with the reaction-card. The method also includes sending, to the client system, in response to receiving the indication of the check-in, instructions for presenting one or more of the reaction-cards, wherein the reaction-cards are presented in ranked order based on a relevance of the structured query associated with the respective reaction-card to the geographic location.
Abstract:
In one embodiment, a method includes accessing a social graph by a social-networking system. The social graph includes a plurality of nodes and a plurality of edges connecting the nodes. The social-networking system may receive a trigger action from a first user. In response to the trigger action, the social-networking system may generate reaction-cards based at least in part on the trigger action where each reaction-card is associated with a structured query referencing nodes and edges of the social graph. The social-networking system may calculate a reaction-card score for each reaction-card, where the reaction-card score is based on a relevance of the structured query associated with the reaction-card to the trigger action and user-engagement factors. The social-networking system may then send each reaction-card having a reaction-card score greater than a threshold reaction-card score to the first user for display on a page currently accessed by the first user.
Abstract:
In one embodiment, a method includes accessing a social graph by a social-networking system. The social graph includes a plurality of nodes and a plurality of edges connecting the nodes. The social-networking system may receive a trigger action from a first user. In response to the trigger action, the social-networking system may generate reaction-cards based at least in part on the trigger action where each reaction-card is associated with a structured query referencing nodes and edges of the social graph. The social-networking system may calculate a reaction-card score for each reaction-card, where the reaction-card score is based on a relevance of the structured query associated with the reaction-card to the trigger action and user-engagement factors. The social-networking system may then send each reaction-card having a reaction-card score greater than a threshold reaction-card score to the first user for display on a page currently accessed by the first user.