This code didn't really work, probably because of changes to the Drupal Services module. I wrote a bunch of classes that work for me and I pushed it into github.

Comments

halhx’s picture

@guaka

Hi there,

Your code on git server works ! I love it.

One question though: I login as a real user (by providing username and password on the config file). However, the node added to the system has uid = 0. Do you know why?

I traced the code and am sure that user.login was called before the node was added.