editfriends delete?

Dec 30, 2010 00:10

`I am trying to delete some friends using xml-rpc.

my xml )

client, client: friends, client: xmlrpc

Leave a comment

jfelectron January 3 2011, 22:53:41 UTC
Why are you generating raw XML? What language are you using? Is an XMLRPC client not available?

That's not correct syntax for an XMLRPC array

see http://www.xmlrpc.com/spec.

Check this against above, I'm just writing this on the fly. I use a Java XMLRPC client, but I know there are clients available for many languages.

delete

mcfnord
jfelectron

Reply

jfelectron January 3 2011, 23:03:20 UTC

Ahh...LJ strips all tags. It ignores
and . Here you go:

http://pastebin.com/Bwbq5jDF

Reply

mcfnord January 4 2011, 03:50:13 UTC
Here's that code:

delete

jfelectron
mcnfnord
ljfound

And it works!

Why did I use raw XML? I thought I could wing it! I've embedded this in PHP that now works nicely. One lesson: If I'm not using an XML-RPC library, at least look for a validator I can use!

I have extended your paid account a small measure so others might benefit from your awesomeness.

Reply

jfelectron January 4 2011, 17:38:47 UTC
Oh thanks man! Glad that did the trick for you. What is ljfound, some strange crawler driven thing?

Reply

mcfnord January 5 2011, 04:34:37 UTC
Crawling is part of the data collection, but ljfound is a worker for two related projects. I can only show you one ( ... )

Reply


Leave a comment

Up