/// <summary> /// 获取当前登录用户的收藏标签列表 /// </summary> /// <param name="count">单页返回的记录条数,默认为10。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public dynamic Tags(int count = 10, int page = 1) { return(DynamicJson.Parse(api.Tags(count, page))); }
/// <summary> /// 获取当前登录用户的收藏标签列表 /// </summary> /// <param name="count">单页返回的记录条数,默认为10。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public IEnumerable <Oryx.OAuthWeiboExtension.Weibo.Entities.favorite.TagEntity> Tags(int count = 10, int page = 1) { JObject result = JObject.Parse(api.Tags(count, page)); return(JsonConvert.DeserializeObject <IEnumerable <Oryx.OAuthWeiboExtension.Weibo.Entities.favorite.TagEntity> >(result["tags"].ToString())); }
/// <summary> /// 获取当前登录用户的收藏标签列表 /// </summary> /// <param name="count">单页返回的记录条数,默认为10。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public IEnumerable <TagEntity> Tags(int count = 10, int page = 1) { var result = JObject.Parse(api.Tags(count, page)); return(JsonConvert.DeserializeObject <IEnumerable <TagEntity> >(result["tags"].ToString())); }