Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a BatchResult struct to hold batch request response #22

Closed
huandu opened this issue Dec 6, 2014 · 1 comment
Closed

Make a BatchResult struct to hold batch request response #22

huandu opened this issue Dec 6, 2014 · 1 comment
Milestone

Comments

@huandu
Copy link
Owner

huandu commented Dec 6, 2014

Just like PagingResult, BatchResult should hold all information returned by facebook batch api.

It's difficult to read data in batch request right now. Unlike other graph api response, batch api returns real result (the "body" field) with a JSON stringified string inside a JSON object. One has to parse body to JSON to use it. It's annoying. BatchResult can definitely help us to save time.

Reference: https://developers.facebook.com/docs/graph-api/making-multiple-requests/#multiple_methods

@huandu huandu added this to the v1.3.0 milestone Dec 6, 2014
@huandu huandu closed this as completed in 15aa7d9 Dec 6, 2014
@afinkenstadt
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants