node.js - Login With Evernote -
im trying connect evernote meteor. but im having bad time, trying oauth token, trying follow example evernote sample meteor , pretty old (2 years), try follow , idea. i can connect evernote, login page , email verification, problem raised on meteor method. handlecallback , wich need "verify" param, wich in case ouath_token second try. on evernote npm readme suggest use oauthjs, , try code. var hostname = "http://sandbox.evernote.com"; var options,oauth; options = { consumerkey: 'xxxxxxxxx', consumersecret: 'xxxxxxxxx', callbackurl : 'http://localhost:3000/oauth/auth', signaturemethod : "hmac-sha1", }; oauth.request({'method': 'get', 'url': hostname + '/oauth', 'success': function(data){ console.log(data); }, 'failure': function(data){ ...