[google-appengine] Re: Using Twitter4j in AppEngine

2009-09-07 Thread Stream
, "Alessandro Loche" wrote: > I answered your question in a previuos post. If you use getSession(true) > you'll create a new session. You should pass false or no argument to method, > instead. > > ------ > From: "Stream" &

[google-appengine] Re: Using Twitter4j in AppEngine

2009-08-30 Thread Stream
am able to authenticate and fetch the user data with the authenticated token. Long story short... the session state is somehow tied to the domain name, so be careful when going from localhost to something else (probably for the callback from twitter) _stream On Aug 30, 4:51 am, Stream wrote

[google-appengine] Re: Using Twitter4j in AppEngine

2009-08-30 Thread Stream
I advanced on this a bit... you just need to have the server generate the request url... then pass that back to the client... let the client click on that and authenticate... that will cause twitter to redirect to your site... (you'll need to edit your host file if you are testing locally... since

[google-appengine] app engine + java + session

2009-08-30 Thread Stream
I enabled sessions in my app engine, however the data isn't being persisted across requests... am I missing something here? I use this to write: this.getThreadLocalRequest().getSession(true).setAttribute ("RequestToken", requestToken); and this to read: RequestToken requestToken = (RequestT

[google-appengine] twitter4j

2009-08-24 Thread Stream
Does anyone have an end-to-end sample of using twitter4j on app an engine? Any alternative library that allows me to use OAuth with twitter would also be useful. I am trying to build an application that uses oauth for twitter on app engine with GWT as the front end... this is proving harder than i