public static System.Collections.Generic.Dictionary<string, object> GetUser(string clientID, string userName)
 {
     CacheObject<System.Collections.Generic.Dictionary<string, object>> cacheObject = new CacheObject<System.Collections.Generic.Dictionary<string, object>>(CacheAction.Add, userName, 10);
     System.Collections.Generic.Dictionary<string, object> dictionary = cacheObject.GetObject();
     if (dictionary == null && userName != null)
     {
         dictionary = (System.Collections.Generic.Dictionary<string, object>)JSONHelper.Instagram.User.QueryUserId(clientID, userName)[0];
         dictionary = cacheObject.SetObject(dictionary);
     }
     return dictionary;
 }
 public static System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>> GetUserLatestPosts(string clientID, string userID)
 {
     CacheObject<System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>>> cacheObject = new CacheObject<System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>>>(CacheAction.Add, userID, 10);
     System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>> list = cacheObject.GetObject();
     if (list == null && userID != null)
     {
         System.Collections.ArrayList result = JSONHelper.Instagram.User.QueryUser(clientID, userID, "");
         list = JSONHelper.Instagram.User.GetUserLatestPostsFromResult(result);
         list = cacheObject.SetObject(list);
     }
     return list;
 }