|
|
#1 |
|
How do you handle FB asynchronous requests?
So I'm working on my app that connects to FB, gets my user info then pulls down my friends and then pulls down friend details. Right now I am using the FB SDK to connect and authenticate and then the Graph API to issue the individual requests for information. All works good, except even though I fire the requests off separately if one request takes longer than the other then I get results out of sequence. Ideally I want to do things in order as I have other stuff relying on the order these requests are executed.
Any thoughts on how to do this? Cheers. |
|
|
|
0
|
|
|
#2 |
|
The trick lies in setting up your delegate callbacks properly.
__________________
|
|
|
|
0
|
|
|
#3 |
|
Thanks dejo - do you mean how it handles the response ie in the didLoad method? That's currently where I'm putting my parsing code for both of my Graph API calls. Not sure what else you could mean..
Cheers. |
|
|
|
0
|
|
|
#4 |
|
Perhaps if I can see some code I can explain better.
__________________
|
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| How do you handle your storage? | puckhead193 | Digital Video | 10 | Nov 3, 2009 09:59 PM |
| How do you handle your media library??? | wayland1985 | MacBook Pro | 0 | Nov 3, 2008 08:58 PM |
| How do you handle regular rentals? | motoxpress | Apple TV and Home Theater | 7 | Oct 15, 2008 03:58 PM |
| survey: how do you handle songs in several different albums... | RogerThornhill | iPod | 5 | Sep 13, 2008 11:14 AM |
| How do you handle lots of "various artists?" | stark23x | Music Discussion | 9 | Nov 17, 2003 09:18 PM |
All times are GMT -5. The time now is 09:23 PM.






Linear Mode

