Gamification and Social Media

Has anyone made it possible for users to share on social media when they increase in ranks or receive badges?