/// <summary> /// Gets the most recent media of the user with the specified <code>userId</code>. /// </summary> /// <param name="userId">The ID of the user.</param> /// <param name="count">The maximum amount of media to be returned.</param> public InstagramGetUserRecentMediaResponse GetRecentMedia(long userId, int count) { return(InstagramGetUserRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(userId, count))); }
/// <summary> /// Gets the most recent media of the user matching the specified <code>options</code>. /// </summary> /// <param name="options">The search options for the call to the API.</param> public InstagramGetUserRecentMediaResponse GetRecentMedia(InstagramGetUserRecentMediaOptions options) { return(InstagramGetUserRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(options))); }
/// <summary> /// Gets the the most recent media of the authenticated user. /// </summary> public InstagramGetUserRecentMediaResponse GetRecentMedia() { return(InstagramGetUserRecentMediaResponse.ParseResponse(Raw.GetRecentMedia())); }