Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline.
| C# | Visual Basic |
public static TwitterResponse<TwitterUser> Show( decimal id )
Public Shared Function Show ( _ id As Decimal _ ) As TwitterResponse(Of TwitterUser)
- id (Decimal)
- The user id.
A new instance of the TwitterUser class.
This method interacts with the users/show API endpoint. Documentation can be found here: http://dev.twitter.com/doc/get/users/show
// Declare the user's id variable decimal userId = 1; // Declare our user variable and fetch the user's details TwitterResponse<TwitterUser> user = TwitterUser.Show(userId);
'-- Declare the user's id variable Dim userId As decimal = 1 '-- Declare our user variable and fetch the user's details Dim user As TwitterResponse(Of TwitterUser) = TwitterUser.Show(userId)
| Exception | Condition |
|---|---|
| ArgumentNullException | Indicates that a required argument was not supplied. |
| ArgumentException | Indicates that an argument supplied was not valid. |
| [!:Twitterizer.CommandValidationException<T>] | Indicates that a command failed pre-execution validation. |