Yup, it's working today. -Stuart
2009/2/17 Ryan W <[email protected]>: > > Nice ugly error messages, aren't they great? Looks like it gets the > occasional (or perhaps more frequent) timeout when trying to contact > the Twitter API. The "DownloadError: ApplicationError: 5 " message is > App Engine's error when it can't connect to the endpoint. > > Refresh a couple times to see if that helps. I'll warn that it's not > the most stable thing, between the Twitter API timeouts, 401s and > 403s, it's still pretty rough around the edges, but it's a good chance > to exercise all of the parts. > > On Feb 17, 12:24 pm, Stuart <[email protected]> wrote: >> 2009/2/17 Ryan W <[email protected]>: >> >> >> >> > Tremendous thank you to Tav for putting this together! >> >> > The demo app now pulls your friend timeline and allows status updates: >> >> >http://twitteroauth.appspot.com >> >> FYI, when I tried to log in this happened... >> >> Traceback (most recent call last): >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", >> line 501, in __call__ >> handler.get(*groups) >> File "/base/data/home/apps/twitteroauth/2.331490727354868997/main.py", >> line 159, in get >> self.callback() >> File "/base/data/home/apps/twitteroauth/2.331490727354868997/main.py", >> line 196, in callback >> screen_name = >> self._client.get('/account/verify_credentials')['screen_name'] >> File "/base/data/home/apps/twitteroauth/2.331490727354868997/oauth.py", >> line 84, in get >> api_method, self.token, **extra_params >> File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", >> line 273, in fetch >> raise DownloadError(str(e)) >> DownloadError: ApplicationError: 5 >> >> -Stuart >> >> >> >> > On Feb 14, 9:42 pm, tav <[email protected]> wrote: >> >> Hey all, >> >> >> Here's code I wrote to handle Twitter+OAuth on Google App Engine: >> >> >> http://github.com/tav/tweetapp >> >> >> Specifically: >> >> >> http://github.com/tav/tweetapp/blob/7ba5452b9cc3787cc5f546303ffa44422... >> >> >> @ryanwi has a version with a simple demo app currently running on: >> >> >> http://twitteroauth.appspot.com/ >> >> >> Hope this is of use to some of you. Let me know if you've got >> >> questions, thoughts, &c. >> >> >> I ended up writing my own OAuth client code as the standard library is >> >> needlessly complicated. Ryan and I were thinking of making a simple >> >> set of clients which handled interacting with Twitter through App >> >> Engine -- using both BasicAuth or OAuth. >> >> >> Let me know if that would be useful to any of you. >> >> >> -- >> >> love, @tav >> >> >> plex:espians/tav | [email protected] | +44 (0) 7809 569 369 >> >> --http://stut.net/
