1. A method comprising: receiving a request from a viewing user of a social networking system for a newsfeed; selecting at least two candidate stories for the viewing user, the at least two candidate stories associated with a plurality of other users of the social networking system with whom the viewing user has established a connection; receiving, for each of a plurality of types of interaction that the viewing user may have with each candidate story, a value to the social networking system of the viewing user performing the type of interaction on a candidate story; for each of the plurality of types of interaction, determining a probability of the viewing user performing the type of interaction on a candidate story; computing an expected value score for each of the selected at least two candidate stories, the expected value score based on: for each of the plurality of types of interaction, (1) the probability of the viewing user performing the type of interaction on a candidate story, and (2) the value to the social networking system of the viewing user performing the type of interaction on a candidate story; ranking the selected at least two candidate stories based at least in part on the expected value scores; generating a newsfeed comprising one or more of the candidate stories, the generated newsfeed based at least in part on the ranking; and sending the generated newsfeed for display to the viewing user.
1. A method comprising: receiving a request from a viewing user of a social networking system for a newsfeed; selecting at least two candidate stories for the viewing user, the at least two candidate stories associated with a plurality of other users of the social networking system with whom the viewing user has established a connection; receiving, for each of a plurality of types of interaction that the viewing user may have with each candidate story, a value to the social networking system of the viewing user performing the type of interaction on a candidate story; for each of the plurality of types of interaction, determining a probability of the viewing user performing the type of interaction on a candidate story; computing an expected value score for each of the selected at least two candidate stories, the expected value score based on: for each of the plurality of types of interaction, (1) the probability of the viewing user performing the type of interaction on a candidate story, and (2) the value to the social networking system of the viewing user performing the type of interaction on a candidate story; ranking the selected at least two candidate stories based at least in part on the expected value scores; generating a newsfeed comprising one or more of the candidate stories, the generated newsfeed based at least in part on the ranking; and sending the generated newsfeed for display to the viewing user. 8. The method of claim 1 , wherein generating the newsfeed comprises: ordering the one or more candidate stories included in the newsfeed based at least in part on the ranking.