My App (Android, SDK 2.1.1GA) sends and image to facebook, gets the returned FB-id and posts that to another site. It works great while the connection is good. If not ... messages like 'boken pipe' etc. are returned.
So I want some retries but as far as I know the function is asynchronous so I can't figure out where to put the loop.
The most important line is:
Titanium.Facebook.requestWithGraphPath('me/photos', data, "POST", showRequestResult); and the
showRequestResults handles the returned data. But for some reason I can't figure out how to build a loop 'untill success'.
Anyone an idea? Thanks in advance!
Think you can help? Login to answer this question!