added socialSharePlugin function