Enabling Notifications

Enable device notifications for a specified user.

Requires Authentication: Yes
Rate Limited: No
Signature:
public static User EnableNotifications(this TwitterContext ctx, string id, string userID, string screenName);
public static User EnableNotifications(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.EnableNotifications("15411837", null, null);

            if (user == null) return;

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

Twitter API: notifications follow

Last edited Aug 17, 2012 at 9:10 PM by JenniferMayo, version 8