コード例 #1
0
 /// <summary>
 /// Search for a user by name.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 public InstagramUsersResponse Search(InstagramUserSearchOptions options)
 {
     return(InstagramUsersResponse.ParseResponse(Raw.Search(options)));
 }
コード例 #2
0
 /// <summary>
 /// Search for a user by name.
 /// </summary>
 /// <param name="query">A query string.</param>
 public InstagramUsersResponse Search(string query)
 {
     return(InstagramUsersResponse.ParseJson(Raw.Search(query)));
 }
コード例 #3
0
 /// <summary>
 /// Search for a user by name.
 /// </summary>
 /// <param name="query">A query string.</param>
 /// <param name="count">The maximum amount of users to return.</param>
 public InstagramUsersResponse Search(string query, int count)
 {
     return(InstagramUsersResponse.ParseResponse(Raw.Search(query, count)));
 }
コード例 #4
0
 /// <summary>
 /// Get the list of users this user is followed by.
 ///
 /// Required scope: relationships
 /// </summary>
 /// <param name="userId">The ID of the user.</param>
 /// <param name="options">The options for the call to the API.</param>
 public InstagramUsersResponse FollowedBy(long userId, InstagramFollowedByOptions options)
 {
     return(InstagramUsersResponse.ParseResponse(Raw.FollowedBy(userId, options)));
 }