0
使用Cloud SDK PHP發揮Evernote的作用webhook。 Webhooks提供「notebookGuid」,我正在尋找使用getnotebook函數獲取和使用筆記本名稱的簡單方法。下面不起作用。從webhook獲取Evernote筆記本名稱
$guid = $_GET['notebookGuid']; //guid from webhook
$notebook_object = $noteStore->getNotebook($access_token, $guid); //tried with and without the $access_token
if ($notebook_object->name = 'myname') { //is name case-insensitive?
$dosomething=1;
}