コード例 #1
0
 /// <summary>
 /// Gets information about the user with the specified <code>userId</code>.
 /// </summary>
 /// <param name="userId">The ID of the user.</param>
 public InstagramGetUserResponse GetUser(long userId)
 {
     return(InstagramGetUserResponse.ParseResponse(Raw.GetUser(userId.ToString(CultureInfo.InvariantCulture))));
 }
コード例 #2
0
 /// <summary>
 /// Gets information about the authenticated user.
 /// </summary>
 public InstagramGetUserResponse GetSelf()
 {
     return(InstagramGetUserResponse.ParseResponse(Raw.GetUser("self")));
 }