0

我正在使用 ruby​​-motion 在evernote-ios-sdk 之上构建一个应用程序。我可以创建标签和注释,但是当我尝试进行搜索时出现错误:domain=com.evernote.sdk, code=3 (EDAMErrorCode_PERMISSION_DENIED?)。这是权限问题还是代码问题?下面是我的带有和不带有 resultSpec 的代码。

    note_store = EvernoteNoteStore.noteStore
    filter = EDAMNoteFilter.alloc.initWithOrder 0, ascending:false, words:nil, notebookGuid:nil, tagGuids:nil, timeZone:nil, inactive:false, emphasized:nil
    note_store.findNotesWithFilter filter, offset:0, maxNotes:10, success: notes_loaded, failure: output_error

    spec = EDAMNotesMetadataResultSpec.alloc.initWithIncludeTitle false, includeContentLength:false, includeCreated:false, includeUpdated:false, includeUpdateSequenceNum:false, includeNotebookGuid:false, includeTagGuids:false, includeAttributes:false, includeLargestResourceMime:false, includeLargestResourceSize:false
    note_store.findNotesMetadataWithFilter filter, offset:0, maxNotes:10, resultSpec:spec, success: notes_loaded, failure: output_error
4

1 回答 1

0

创建 API 密钥时,您可能要求提供基本访问权限。您需要完全访问权限才能阅读笔记。更多信息在这里您可以在此处将其更改为完全访问权限。

于 2013-04-07T06:38:56.403 回答