コード例 #1
0
 public void Threads_ListPosts()
 {
     DisqusApiClient client = new DisqusApiClient(new Disqus.Api.V30.Authentication.DsqAuth(_validApiKey), new Uri("http://disqus.com/", UriKind.Absolute));
     var response = client.ListThreadPostsAsync(_targetModerationThread, new List<string>(), "desc", "", 1).Result;
     Assert.AreEqual(0, response.Code);
 }