private void GetForAddCommentCompleted(stream_data stream, object state, FacebookException e) { Assert.IsNotNull(stream); _api.Stream.AddCommentAsync(stream.posts.stream_post[0].post_id, "Testing stream.AddComment", AddCommentCompleted, null); }
private void GetForLikeCompleted(stream_data stream, object state, FacebookException e) { Assert.IsNotNull(stream); _api.Stream.AddLikeAsync(stream.posts.stream_post[0].post_id, AddLikeCompleted, null); }
private void Get2Completed(stream_data actual, object state, FacebookException e) { Assert.IsNotNull(actual); foreach (var post in actual.posts.stream_post) { Assert.IsTrue(post.source_id == 665621453 || post.source_id == 630947564); } EnqueueTestComplete(); }