public string GetSearch() { var searchJson = string.Empty; IAuthenticate authenticate = new Authenticate(); AuthResponse twitAuthResponse = authenticate.AuthenticateMe(AuthenticateSettings); // Do the timeline var utility = new Utility(); searchJson = utility.RequstJson(SearchSettings.SearchUrl, twitAuthResponse.TokenType, twitAuthResponse.AccessToken); return searchJson; }
public string GetMyTimeline() { var timeLineJson = string.Empty; IAuthenticate authenticate = new Authenticate(); AuthResponse twitAuthResponse = authenticate.AuthenticateMe(AuthenticateSettings); // Do the timeline var utility = new Utility(); timeLineJson = utility.RequstJson(TimeLineSettings.TimelineUrl, twitAuthResponse.TokenType, twitAuthResponse.AccessToken); return timeLineJson; }