/// <summary> /// Get a list of recent media objects from a given location. /// </summary> /// <param name="location">The location.</param> public string GetRecentMedia(InstagramLocation location) { if (location == null) throw new ArgumentNullException("location"); // TODO: Add support for MIN_TIMESTAMP parameter // TODO: Add support for MIN_ID parameter // TODO: Add support for MAX_ID parameter // TODO: Add support for MAX_TIMESTAMP parameter return GetRecentMedia(location.Id); }
/// <summary> /// Gets a list of recent media from the specified <code>location</code>. /// </summary> /// <param name="location">The location.</param> /// <param name="options">The options for the call to the API.</param> public SocialHttpResponse GetRecentMedia(InstagramLocation location, InstagramLocationRecentMediaOptions options) { if (location == null) throw new ArgumentNullException("location"); return GetRecentMedia(location.Id, options); }
/// <summary> /// Get a list of recent media objects from a given location. /// </summary> /// <param name="location">The location.</param> public InstagramRecentMediaResponse GetRecentMedia(InstagramLocation location) { if (location == null) throw new ArgumentNullException("location"); return GetRecentMedia(location.Id); }