Teaching with social media can foster connection and build engagement when done correctly, research shows.