fub in lj_dev

sessiongenerate weirdness

Nov 23, 2009 20:37

I'm currently working on integrating Scrapbook in my LJ client. When downloading pictures, I got a 403 Forbidden error when downloading pictures that were under a friends-lock. That's (of course) exactly as it should be.
So my strategy is to get an LJ session cookie (through the sessiongenerate interface call) and send that along with my request ( Read more... )

client, *unanswered, client: authentication, client: fotobilder, client: sessions

Leave a comment

Comments 5

raven_ap_morgan November 25 2009, 15:47:52 UTC
At least according to my research, sessiongenerate is broken. There's a thread on that in this community, though I don't remember where it is.

Reply

pauamma November 25 2009, 16:02:50 UTC
Tag search is your friend. :-)

Reply

desh November 25 2009, 17:36:06 UTC
Appears to be here.

Reply


fub November 25 2009, 18:18:18 UTC
Thanks everybody. Seems I have to find another (uglier) strategy to deal with this.

Reply

jfelectron December 20 2009, 22:07:00 UTC

I have a related wierdness:

If I use sessiongenerate and use the ljsession cookie to hit talkread.bml with parameters like journal= and itemid=, I get redirected to a page that says I'm logged in. This returns a cookie ljuniq. If I pass this and the original ljsession cookie, I then get a page that says I'm logged out. ljuniq cookie alone doesn't work either.

Strangely, using only the ljsession cookie with wget gets me the content.

Reply


Leave a comment

Up