Teaching Agents How to Leverage Social Media