Add a member to a list. The authenticated user must own the list to be able to add members to it. Lists are limited to having 500 members.
| C# | Visual Basic |
public static TwitterResponse<TwitterList> AddMember( OAuthTokens tokens, string ownerUsername, string listId, decimal userIdToAdd )
Public Shared Function AddMember ( _ tokens As OAuthTokens, _ ownerUsername As String, _ listId As String, _ userIdToAdd As Decimal _ ) As TwitterResponse(Of TwitterList)
- tokens (OAuthTokens)
- The tokens.
- ownerUsername (String)
- The username of the list owner.
- listId (String)
- The list id.
- userIdToAdd (Decimal)
- The user id to add.
A TwitterList representing the list the user was added to, or null.