// Initializing the Tasks API serviceTasks service = new Tasks("2-LO Tasks Test", httpTransport, jsonFactory);service.accessKey = API_KEY;
Hi Nicolas,maybe you can help me. I followed the java examples in the linked article "Using 2-Legged OAuth with Google Tasks API for Google Apps domain administrators" and got it working.But as soon as I do any write operation I get a "401" response. For example if I add the following to the java exampleTaskList newlist = new TaskList();newlist.setTitle("My new list!");TaskList il = service.tasklists.insert(newlist).execute(); // -> 401Is this a problem with my Google Apps for Business configuration or is there no real 2-legged OAuth support for google task api write access?Best regards,Christian
My API console doesn't have that interface, I can only generate a Client/Secret, but I don't have all thoses checkboxes.Do we need some sort of business account ?
Post a Comment