moodle + soap works better then rest. write with facebook connector