I have written an app that I am not happy with. Essentially it queries the Facebook API in a few ways:
- Gets a list of all posts
- Retrieves each post
- Retrieves each posts comments
I can get a list of all posts in 1 API request, but I've nested each subsequent API request in a loop. I'd like to do this all at once, and is there any reading on sending all the requests at once, and then handling the API requests as they come in?
I'm looking for reading, GEMS, suggestions at strategies.
Thanks!