Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dropbox.getAccessToken(email, password, function (err) {
if (err) return console.error('Error: ' + err)
dropbox.getAccountInfo(function (err, data) {
if (err) return console.error('Error: ' + err)
console.log(data.display_name + ', ' + data.email)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment