socialSharingPlugin function