Created
March 21, 2011 13:16
-
-
Save prabirshrestha/879434 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var result = fb.Batch( | |
| new FacebookBatchParameter { HttpMethod = HttpMethod.Get, Path = "/4" }, | |
| new FacebookBatchParameter(HttpMethod.Get, "/me/friends", new Dictionary<string, object> { { "limit", 10 } }) { Data = new { name = "friends", omit_response_on_success = false } }, | |
| new FacebookBatchParameter("/me", new { fields = new[] { "id", "name" } }), | |
| new FacebookBatchParameter("/me/feed", new { limit = 10 }), | |
| new FacebookBatchParameter(HttpMethod.Post, "/me/feed", new { message = "test status update" })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment