use optin to control whether to show social btn