Social Media:Fundamentals, Models, and Ranking of User-Generated Content