Swift: Multiple async requests in order. How to wait for previous request to finish?
问题 As part of the authentication process in my app, users can sign in using their Facebook account - I'm using the Facebook iOS SDK to handle this process. Once authentication is complete, I make a request to Facebook graph api to fetch the users profile data (This is the first async req). The second async request is also to Facebook graph api to request the users friends list who have the app installed. The final and third request in this function makes a async POST request to an API I've