Facebook algorithm works by ranking all available posts that can display on a user's News Feed based on how likely that user will have a positive reaction.