/// <summary> /// Get the list of users following the user with the specified <paramref name="userId"/>. Requires the <code>follower_list</code> scope. /// </summary> /// <param name="userId">The ID of the user.</param> /// <returns>An instance of <see cref="InstagramSearchUsersResponse"/> representing the response.</returns> public InstagramSearchUsersResponse FollowedBy(long userId) { return(InstagramSearchUsersResponse.ParseResponse(Raw.FollowedBy(userId))); }
/// <summary> /// Get a list of users the user matching the specified <paramref name="options"/> follows. Requires the <code>follower_list</code> scope. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="InstagramSearchUsersResponse"/> representing the response.</returns> public InstagramSearchUsersResponse Follows(InstagramGetFollowsOptions options) { return(InstagramSearchUsersResponse.ParseResponse(Raw.Follows(options))); }
/// <summary> /// Get a list of users the user with the specified <paramref name="userId"/> follows. Requires the <code>follower_list</code> scope. /// </summary> /// <param name="userId">The ID of the user.</param> /// <param name="count">The maximum amount of users to be returned.</param> /// <returns>An instance of <see cref="InstagramSearchUsersResponse"/> representing the response.</returns> public InstagramSearchUsersResponse Follows(long userId, int count) { return(InstagramSearchUsersResponse.ParseResponse(Raw.Follows(userId, count))); }
/// <summary> /// Get a list of users the authenticated user follows. Requires the <code>follower_list</code> scope. /// </summary> /// <returns>An instance of <see cref="InstagramSearchUsersResponse"/> representing the response.</returns> public InstagramSearchUsersResponse Follows() { return(InstagramSearchUsersResponse.ParseResponse(Raw.Follows())); }
/// <summary> /// Search for a user by name. /// </summary> /// <param name="options">The options for the call to the API.</param> public InstagramSearchUsersResponse Search(InstagramGetUserSearchOptions options) { return(InstagramSearchUsersResponse.ParseResponse(Raw.Search(options))); }
/// <summary> /// Search for a user by name. /// </summary> /// <param name="query">A query string.</param> /// <param name="count">The maximum amount of users to be returned.</param> public InstagramSearchUsersResponse Search(string query, int count) { return(InstagramSearchUsersResponse.ParseResponse(Raw.Search(query, count))); }