/// <summary>
 /// Gets the the most recent media of the authenticated user.
 /// </summary>
 /// <param name="options">The search options with any optional parameters.</param>
 public InstagramRecentMediaResponse GetRecentMedia(InstagramUserRecentMediaOptions options) {
     return InstagramRecentMediaResponse.ParseResponse(Raw.GetRecentMedia("self", options));
 }
 /// <summary>
 /// Gets the most recent media published by the user with the specified <code>identifier</code>.
 /// </summary>
 /// <param name="identifier">The identifier of the user.</param>
 /// <param name="options">The search options with any optional parameters.</param>
 /// <returns>Returns the raw JSON response from the API.</returns>
 public SocialHttpResponse GetRecentMedia(string identifier, InstagramUserRecentMediaOptions options) {
     if (options == null) throw new ArgumentNullException("options");
     return Client.DoAuthenticatedGetRequest("https://api.instagram.com/v1/users/" + identifier + "/media/recent/", options);
 }
 /// <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="options">The search options with any optional parameters.</param>
 public InstagramRecentMediaResponse GetRecentMedia(long userId, InstagramUserRecentMediaOptions options) {
     return InstagramRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(userId.ToString(CultureInfo.InvariantCulture), options));
 }