public static void FetchByLocation(string locationid) { InstaSharp.Endpoints.Locations.Unauthenticated IGLocation = new InstaSharp.Endpoints.Locations.Unauthenticated(Credentials.config); String resultLocation = IGLocation.RecentJson(locationid); JsonValue JsonLocation = JsonValue.Parse(resultLocation); String[] ImageURLLocation = new String[JsonLocation["data"].Count]; for (int i = 0; i < JsonLocation["data"].Count; i++) { ImageURLLocation[i] = (string)JsonLocation["data"][i]["images"]["standard_resolution"]["url"]; } _richTextBox2.Clear(); _richTextBox2.AppendText("Request client: https://api.instagram.com/v1/locations/" + locationid + " \n"); _richTextBox2.AppendText("Respon Instagram API: \n"); for (int i = 0; i < ImageURLLocation.Length; i++) { string output = (string)ImageURLLocation[i]; _richTextBox2.AppendText(output.Replace(@"\", String.Empty) + "\n"); } }