I attempt to obtain all art galleries of my NextGen-Wordpress plugin in Wordpress. With normal Wordpress instructions everything works fine:

XMLRPCClient client = new XMLRPCClient(url);
Object[] vParams = { email, pass };
map = (Object[]) client.call("wp.getUsersBlogs", vParams);

However when I attempt to obtain all NextGen-art galleries, I recieve a mistake:

XMLRPCClient client = new XMLRPCClient(url);
Object[] vParams = { blogid, user, pass };
map = (Object[]) client.call("ngg.getGalleries", vParams);

Any ideas? Did I forget anything?


I acquired the NextGen-command list from here.
And, the Wordpress-instructions from here.


UPDATE:

I discovered the mistake: my blogid was from the type lengthy and should be an integer