Querying User Contributors

Get list of users that can contribute to the specified user.

Entity: User
Type: UserType.Contributors
Parameters/Filters:
Name Purpose Type Required
IncludeEntities Include Twitter entities bool no
UserID ID of user ulong only if screenName is empty
ScreenName Screen name of user string only if userID is empty
SkipStatus Exclude status information bool no

v3.0 Example:
            var users =
                await
                (from user in twitterCtx.User
                 where user.Type == UserType.Contributors &&
                       user.ScreenName == "twitter"
                 select user)
                .ToListAsync();

            if (users != null)
                users.ForEach(user => 
                    Console.WriteLine("User: " + user.ScreenNameResponse));
v2.1 Example:
            var users =
                (from user in twitterCtx.User
                 where user.Type == UserType.Contributors &&
                       user.ScreenName == "twitter"
                 select user)
                .ToList();

            users.ForEach(
                user => Console.WriteLine("User: " + user.Name));

Twitter API: users/contributors

Last edited Nov 29, 2013 at 3:53 AM by JoeMayo, version 7