/// <summary> /// 获取当前用户某个标签下的收藏列表的ID /// </summary> /// <param name="tid">需要查询的标签ID。</param> /// <param name="count">单页返回的记录条数,默认为50。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public dynamic ByTagIDs(string tid, int count = 50, int page = 1) { return(DynamicJson.Parse(api.ByTagIDs(tid, count, page))); }
/// <summary> /// 获取当前用户某个标签下的收藏列表的ID /// </summary> /// <param name="tid">需要查询的标签ID。</param> /// <param name="count">单页返回的记录条数,默认为50。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public IEnumerable <Oryx.OAuthWeiboExtension.Weibo.Entities.favorite.IDEntity> ByTagIDs(string tid, int count = 50, int page = 1) { JObject result = JObject.Parse(api.ByTagIDs(tid, count, page)); return(JsonConvert.DeserializeObject <IEnumerable <Oryx.OAuthWeiboExtension.Weibo.Entities.favorite.IDEntity> >(result["favorites"].ToString())); }
/// <summary> /// 获取当前用户某个标签下的收藏列表的ID /// </summary> /// <param name="tid">需要查询的标签ID。</param> /// <param name="count">单页返回的记录条数,默认为50。</param> /// <param name="page">返回结果的页码,默认为1。</param> /// <returns></returns> public IEnumerable <IDEntity> ByTagIDs(string tid, int count = 50, int page = 1) { var result = JObject.Parse(api.ByTagIDs(tid, count, page)); return(JsonConvert.DeserializeObject <IEnumerable <IDEntity> >(result["favorites"].ToString())); }