Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using the Evernote API to generate open links for the new Evernote web editor

I'm trying to use the Evernote API to generate links to editable notes in the new Evernote web editor.

new web editor image

I've tried building the links as suggested by the documentation and this post, but the resulting links take me to the old version of the Evernote web editor.

Appending &ses=4&sh=2&sds=5& to the end of links formatted like this:

https://www.evernote.com/Home.action#n=UID&ses=4&sh=2&sds=5&

fixes this problem, redirecting me to the desired note in the new web editor, but this doesn't seem like a very stable/reliable solution (it's probably safe to assume that these links will change).

Is there a different way I should be building these links in order to redirect to the new web editor?

Thanks a lot!

like image 991
jason Avatar asked Oct 31 '22 13:10

jason


1 Answers

Yeah, so using the window location hash parameters to direct users to specific notes in the web client will work for the foreseeable future, but you're right, it's an unsupported API and you shouldn't depend on it. I'd recommend using note links to link to notes instead.

like image 153
akhaku Avatar answered Nov 15 '22 04:11

akhaku