public void TwitterFollower_GetData() { TwitterFollower t = new TwitterFollower(new TwitterFollowerDataSource()); t.GetData(t.Context); TwitterDataComponent tdc = t.DroneDataComponent as TwitterDataComponent; }
public async void MakeRequestForTwitterFollowers() { var credentials = TestSettings.GetToken <Twitter, OAuth1Credentials>(); if (credentials.IsTokenExpired) { throw new Exception("Expired credentials!!!"); } var request = new TwitterFollower(); var response = await new OAuthRequester(credentials) .MakeOAuthRequestAsync <TwitterFollower, TwitterFollowerResponse>(request) .ConfigureAwait(false); Assert.NotNull(response); }