I am using facebook.login(myFacebookAppId, facebookListener) to log in the user with Facebook. However, if the device is not connected to the Internet and if the user uses the Facebook webpage to log in, I cannot find a way to let the app know that the http request to Facebook timed out. I have looked for sime kind of timeout-functionality in the Corona Facebook library but I can’t find one.
One option would be to use timer.performWithDelay() to create a “manual” timeout but then the question is how to cancel the Facebook log in to make sure that it does not do anything after the app considers the request to be timed out.
Any ideas?