?

Log in

No account? Create an account
I read somewhere about a request I can make to the server to get a… - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jul. 6th, 2002|09:13 pm]
LiveJournal Client Discussions
lj_clients
[firelabs]
I read somewhere about a request I can make to the server to get a list of weblinks, but I can't find where I read it, anyone have the url or the request syntax to hand?
linkReply

Comments:
[User Picture]From: jingoro
2002-07-06 09:31 am (UTC)
If I recall correctly, it's part of the response during the login negotiation. Check the documentation on the initial login command.
(Reply) (Thread)
[User Picture]From: phil99
2002-07-06 10:32 am (UTC)
Weblinks? What kind of links? You can get user picture links... not sure what else you could mean. Can you describe a bit more?
(Reply) (Thread)
[User Picture]From: youngoat
2002-07-06 11:20 am (UTC)

menus

Yeah. As jingoro says, it's part of the login protocol mode. Send getmenus=1 as part of your request, and you'll get some menu_... keys in the response that let you build a menu of livejournal links.
(Reply) (Thread)
[User Picture]From: jingoro
2002-07-06 12:50 pm (UTC)

Re: menus

Thanks, kid was screaming and I didn't have the time to look up the link for him.
(Reply) (Parent) (Thread)
From: firelabs
2002-07-06 10:19 pm (UTC)
thanks guys, much appreciated :)
(Reply) (Thread)
From: franknbeans
2002-07-13 09:09 pm (UTC)

packets returned question......

Hello all i'm trying to get this protocol thing down, but have a question i can't seem to asnwere. It deals with using different modes, and when using different ones is the returned packet structure the same across the board ? (minus some specific values valid to say, "login", or "getfriends"). I've been trying to use the "getfriends" mode with no luck. I've tried : sprintf(getfriends, "
[Error: Irreparable invalid markup ('<all [...] headers,etc..etc..>') in entry. Owner must fix manually. Raw contents below.]

Hello all i'm trying to get this protocol thing down, but have a question i can't seem to asnwere. It deals with using different modes, and when using different ones is the returned packet structure the same across the board ? (minus some specific values valid to say, "login", or "getfriends"). I've been trying to use the "getfriends" mode with no luck. I've tried : sprintf(getfriends, "<All the HTTP Headers,etc..etc..> mode=getfriends&name=%s&password=%s", ljName, ljPass); then just sending it to the already open connection. But /if/ i get a response it's not the one described in the "Modes" docs. I'm using C, but C++ code is just fine if you can help. Thanks in advance.. ....Frank M....
(Reply) (Thread)