Open GoogleCodeExporter opened 8 years ago
I have exactly the same problem. It makes the API useless.
Original comment by colinab...@gmail.com
on 18 Sep 2009 at 3:53
When using google.load with a callback you may have to invoke
google.gdata.onLoad()
from your callback, before anything else, in order to allow AuthSub to complete.
Also, from my experience, the actual login status may not be available
immediately
after GData is loaded, since it first has to consume the AuthSub token in the
URL
before setting the status to LOGGED_IN from LOGGING_IN.
Original comment by bobbysoa...@gmail.com
on 15 Nov 2009 at 1:30
thanks bobby!
at last, based on your insight, I was able to lazy load the gdata and
authorize. I've written a wrapper function for
this, if anybody needs to lazyload gdata, you can find it here:
http://gist.github.com/236842
still, I think google team could build a native callback for this kind of flow.
Original comment by Matas.Pe...@gmail.com
on 17 Nov 2009 at 11:19
Original issue reported on code.google.com by
Matas.Pe...@gmail.com
on 22 Jul 2009 at 8:17