I was working with the Channel Entries API to set up a system for a mobile user to post entries via an iOS application.
Is it possible to set the user via his id?
$authorized = $this->EE->auth->authenticate_username($username, $password);
...
$data = array(
‘title’ => ‘test’,
‘entry_date’ => ‘1256953732’,
‘field_id_13’ => ‘testing content’,
‘field_id_57’ => ‘testing a custom field’,
‘field_id_58’ => ‘testing another custom field’,
‘member_id’ => 123
);
Testing with returns “You are not authorized to post in this channel”
