Ejemplo n.º 1
0
 public static string SerializedGetUser(string Username)
 {
     return(JsonConvert.SerializeObject(Instagram.GetUser(Username), Formatting.Indented));
 }
Ejemplo n.º 2
0
 public static string SerializedGetMedia(string Shortcode)
 {
     return(JsonConvert.SerializeObject(Instagram.GetMedia(Shortcode), Formatting.Indented));
 }
Ejemplo n.º 3
0
        public static void DownloadJsonFromShortcode(string Shortcode, string FileLocation)
        {
            JObject ig = JObject.Parse(Instagram.GetJsonFromIG(string.Format("https://www.instagram.com/p/{0}/", Shortcode)));

            File.WriteAllText(FileLocation, JsonConvert.SerializeObject(ig, Formatting.Indented));
        }