Disabling Notifications

Disable device notifications for a specified user

Requires Authentication: Yes
Rate Limited: No
Signature:
public static User DisableNotifications(this TwitterContext ctx, string id, string userID, string screenName);
public static User DisableNotifications(this TwitterContext ctx, string id, string userID, string screenName, Action<TwitterAsyncResponse<User>> callback);
Parameters/Filters:
Name Purpose Type Required
UserID ID of user to follow string only if ScreenName is empty
ScreenName Screen name of user to follow string only if UserID is empty


Note: UserID, or ScreenName must be specified

Return Type: User
Example:
            var user = twitterCtx.DisableNotifications("15411837", null, null);

            if (user == null) return;

            Console.WriteLine("User Name: " + user.Name);

Twitter API: notifications leave

Last edited Aug 17, 2012 at 9:11 PM by JenniferMayo, version 7