October 23rd, 2004

kiran collie likeshine

LJ XML-RPC Query

Greetings!

First, my apologies if this question has been asked before. I scanned back over the entries as well as doing a Google on the subject, but I haven't been able to return no helpful information. I'm currently working on an XML-RPC based LJ client in Visual Basic 6, using the vbXMLRPC COM object. I've actually had a bit of success using it, but I've run into a problem. When I log into an account thas has "friendsgroups" defined, vbXMLRPC is able to parse the information fine. But when I log into an account that has no friends groups defined, vbXMLRPC complains about malformed XML.

Collapse )

When I issue this call from an account that has friends groups, I have no problem logging in. The account above, though, has no friends groups created. When I call LJ.XMLRPC.login from within vbXMLRPC, I get an error stating: 'data' is empty, valid node is 'value'. At postion 280.

Collapse )

Now, I've been using XML now for a grand total of two weeks, so my judgement is suspect and based mostly on observation, but [data/] doesn't look like valid XML. Surely this is not a problem with the LJ.XMLRPC since I assume many others here are using it. Am I looking at a problem with vbXMLRPC or something else entirely that I haven't thought of yet?