public void CreateFacebookService(string customerKeyString, string customerSecretKeyString, IShareAuthenticationCallbacks authenticationCallbacks, IAccountStoreConfiguration accountStoreConfiguration) { _facebookShareService = new CMPFacebookShareService(customerKeyString, customerSecretKeyString, authenticationCallbacks, accountStoreConfiguration); }
public CMPTwitterShareService(string customerKeyString, string customerSecretKeyString, IShareAuthenticationCallbacks authenticationCallbacks, IAccountStoreConfiguration accountStoreConfiguration) : base(customerKeyString, customerSecretKeyString) { _authenticationCallbacks = authenticationCallbacks; _accountStoreProxy = new CMPAccountStoreProxy(accountStoreConfiguration); _cancellationTokenSource = new CancellationTokenSource(); }