Create a note in an Evernote-related notebook

I have a problem writing a note in a notebook with the iOS Evernote SDK .

I tried just to get a note in the question

EvernoteNoteStore* noteStore = [EvernoteNoteStore noteStoreForLinkedNotebook:self.linkedNotebook]; 

Then I tried to create a note with

 [noteStore createNote:note success:success failure:^(NSError *error) { NSLog(@"%@", error); }]; 

It always ends with a mistake saying that I do not have permission to create a note.

I also tried to authenticate using the shared key in my linked notebook, but it was also stopped there with the same error in the bounce block.

 [noteStore authenticateToSharedNotebookWithShareKey:self.linkedNotebook.shareKey success:^(EDAMAuthenticationResult *result) { [noteStore createNote:note success:success failure:^(NSError *error) { NSLog(@"%@", error); }]; } failure:^(NSError *error) { NSLog(@"%@", error); }]; 

How can I solve the problem of creating a note in a linked laptop?

+7
ios objective-c evernote
source share
2 answers

OK Therefore, if your permissions are correct, I assume that there is an error in this process. I just posted a blog post about this: http://laurent.sarrazin.io/2014/05/evernote-api-create-notes-in-a-linked-notebook.html This is in PHP, but the process will be the same in other languages.

I think you are not setting up a notebook manual when creating a note. You can get this guide by calling the getSharedNotebookByAuth method. Do not use a guid related laptop! This will throw an EDAMNotFoundException.

0
source share

Are you sure you have rights? those. rights to write to a laptop.

-one
source share

All Articles