Exemplo n.º 1
0
        /// <summary>
        /// Subscribe the authenticated user to a specific list
        /// </summary>
        public static bool SubscribeAuthenticatedUserToList(ITwitterListIdentifier listIdentifier, IAuthenticatedUser authenticatedUser = null)
        {
            if (authenticatedUser != null)
            {
                return(authenticatedUser.UnSubscribeFromList(listIdentifier));
            }

            return(TwitterListController.SubscribeAuthenticatedUserToList(listIdentifier));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Subscribe the authenticated user to a specific list
        /// </summary>
        public static bool SubscribeAuthenticatedUserToList(string slug, long ownerId, IAuthenticatedUser authenticatedUser = null)
        {
            if (authenticatedUser != null)
            {
                return(authenticatedUser.UnSubscribeFromList(slug, ownerId));
            }

            return(TwitterListController.SubscribeAuthenticatedUserToList(slug, ownerId));
        }