Sample code for the social plugin