1. A method comprising: receiving a request from a viewing user of a social networking system for a newsfeed; selecting a plurality of candidate stories for the viewing user, the plurality of candidate stories associated with a plurality of other users of the social networking system with whom the viewing user has established a connection; receiving a value for each of a plurality of types of interaction that the viewing user may have with each candidate story; for each of the plurality of types of interaction, determining a probability that the viewing user will perform the type of interaction on a candidate story; computing an expected value score for each of the plurality of candidate stories, the expected value score based on the probabilities and values for each of the plurality of types of interaction; ranking the plurality of candidate stories based at least in part on the expected value scores; determining 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.