libbux icon indicating copy to clipboard operation
libbux copied to clipboard

Server always return 'Bad Request'

Open XwolfY opened this issue 6 years ago • 0 comments

Got 'Bad Request' when simply try to use this peace of code while succeed to auth

// Do login
bux.login(account, function(err, data) {
  if (err) throw err;

  // Here is your access_token, you can use it later
  console.log("Your access_token: " + data.access_token);
  let bux = BUX.api({ access_token: data.access_token });

  bux.me(function(err, data)  {
    if (err) throw err;
console.log(data);
  });
});

`

XwolfY avatar Dec 16 '19 21:12 XwolfY