/// <summary> /// Enables device notifications for updates from the specified user. Returns the specified user when successful. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="screenName">The user's screen name.</param> /// <param name="options">The options.</param> /// <returns></returns> public static TwitterResponse <TwitterUser> Follow(OAuthTokens tokens, string screenName, OptionalProperties options) { Commands.NotificationFollowCommand command = new Commands.NotificationFollowCommand(tokens, 0, screenName, options); return(Core.CommandPerformer.PerformAction(command)); }
/// <summary> /// Enables device notifications for updates from the specified user. Returns the specified user when successful. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="screenName">The user's screen name.</param> /// <param name="options">The options.</param> /// <returns></returns> public static TwitterResponse<TwitterUser> Follow(OAuthTokens tokens, string screenName, OptionalProperties options) { Commands.NotificationFollowCommand command = new Commands.NotificationFollowCommand(tokens, 0, screenName, options); return Core.CommandPerformer.PerformAction(command); }
/// <summary> /// Enables device notifications for updates from the specified user. Returns the specified user when successful. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="userId">The user id.</param> /// <param name="options">The options.</param> /// <returns></returns> public static TwitterResponse <TwitterUser> Follow(OAuthTokens tokens, decimal userId, OptionalProperties options) { Commands.NotificationFollowCommand command = new Commands.NotificationFollowCommand(tokens, userId, string.Empty, options); return(Core.CommandPerformer.PerformAction(command)); }
/// <summary> /// Enables device notifications for updates from the specified user. Returns the specified user when successful. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="userId">The user id.</param> /// <param name="options">The options.</param> /// <returns></returns> public static TwitterResponse<TwitterUser> Follow(OAuthTokens tokens, decimal userId, OptionalProperties options) { Commands.NotificationFollowCommand command = new Commands.NotificationFollowCommand(tokens, userId, string.Empty, options); return Core.CommandPerformer.PerformAction(command); }