Log in

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

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

October 23rd, 2004

LJ XML-RPC Query [Oct. 23rd, 2004|12:35 am]
LiveJournal Client Discussions




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.

Here is the raw XML from vbXMLRPC that I'm using to generate the errorCollapse )

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.

Dump of the LJ response XMLCollapse )

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?

link6 comments|post comment

[ viewing | October 23rd, 2004 ]
[ go | Previous Day|Next Day ]