Example #1
0
        public static async Task<RestResult<Comments>> comments_by_me_refresh_async(string token,long sinceid,
            int count,
            int page, comments_filter_by_source filter = comments_filter_by_source.all)
        {
            var path = string.Format("comments/by_me.json?since_id={0}&count={1}&page={2}&access_token={3}",
                                     sinceid,
                                     count,
                                     page, token);

            return await WeiboInternal.HttpsGet<Comments>(WeiboSources.SinaV2(path));
        }
Example #2
0
        public static async Task<RestResult<Comments>> comments_by_me_next_page_async(string token,long maxid,
            int count,
            int page, comments_filter_by_source filter = comments_filter_by_source.all)
        {
            var path = string.Format("comments/by_me.json?max_id={0}&count={1}&page={2}&access_token={3}&filter_by_source={4}",
                                     maxid,
                                     count,
                                     page, token,(int)filter);

            return await WeiboInternal.HttpsGet<Comments>(WeiboSources.SinaV2(path));
        }