/// <summary> /// Gets a list of recent media from the tag matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response from the Instagram API.</returns> public SocialHttpResponse GetRecentMedia(InstagramGetTagRecentMediaOptions options) { if (String.IsNullOrWhiteSpace(options.Tag)) { throw new PropertyNotSetException("options.Tag"); } return(Client.DoHttpGetRequest("https://api.instagram.com/v1/tags/" + options.Tag + "/media/recent", options)); }
/// <summary> /// Gets a list of recent media from the tag matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="InstagramGetTagRecentMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramGetTagRecentMediaResponse GetRecentMedia(InstagramGetTagRecentMediaOptions options) { return(InstagramGetTagRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(options))); }