?

Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

Problems adding/deleting friend groups. [Oct. 21st, 2003|06:22 pm]
LiveJournal Client Discussions

lj_clients

[blackmouse]
I'm writing a client with VB.NET. It's mostly functional but I'm writing the piece to deal with editing the friend groups. I can add and remove friends from groups but I cannot add or delete groups. The request I send to the server looks like "user=username&password=password&efg_delete_1&" (where 1 equals the group number). I get a success result of OK but it doesn't delete the group. pretty much the same thing with adding a group but it doesn't add the group. Can anyone point me in the right direction?
Thanks.
linkReply

Comments:
[User Picture]From: blackmouse
2003-10-21 08:20 pm (UTC)

XML

It is XML savy but to learn how to communicate with the servers I looked through the source code for another LJ client and it was using this method. I'm eventually going to re-write those parts with the XML stuff.

I have tried it with and without the end ampersand, no change. I don't understand why it would be giving me an success value of "OK" if it's not working but it's definately not working.

I did add the "=1" and it works now. I'll keep that in mind. Thank you for your help.
(Reply) (Parent) (Thread)
[User Picture]From: quirrc
2003-10-21 11:15 pm (UTC)

Re: XML

just get that another client and look at exact requests that it's sending and compare to yours (either use some sniffer/logger or run with debugger)
(Reply) (Parent) (Thread)