Social sharing

Fixed some stuff for testing social sharing functionality.