Modeling User Interactions in Web Search and Social Media 1