示例#1
0
        public static async Task <TabList> Create(long id, int surrogateKey, ITweetsPublisher tweetsPublisher)
        {
            var ret = new TabList(id, surrogateKey, tweetsPublisher);
            await ret.FetchTweetsAsync();

            var listInfo = await Authorization.GetToken().Lists.ShowAsync(list_id => id, tweet_mode => "extended");

            ret.Name = listInfo.Name;
            return(ret);
        }
示例#2
0
 public async Task <TabList> CreateListTab(long id, int surrogateKey)
 {
     return(await TabList.Create(id, surrogateKey, TweetsPublisher));
 }