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); }
public async Task <TabList> CreateListTab(long id, int surrogateKey) { return(await TabList.Create(id, surrogateKey, TweetsPublisher)); }