title: textnow api with nodejs not working logging in
body: <pre><code>const express = require("express");
  const app = express();
  const textNow = require('textnow-api');
  
  
  app.use(express.static("public"));
  
  app.get("/", function(request, response) {
    textNow.login("email", "'password").then(client =&gt; {
        console.log(`Logged in as ${client.username}`);
  
        textNow.fetchMessages(client.id, client.username).then(messages =&gt; {
            console.log(messages.map(message =&gt; `ID: ${message.id} | Message: ${message.message} | Sender: ${message.contact_value}`).join('\n'));
        });
    });
  });
  
  const listener = app.listen("80", function() {
    console.log("Your app is listening on port " + listener.address().port);
  });
  </code></pre>
  
  <p>It only responds with a 400 error, even though I have the correct login. Can anyone please help me with this, or is it depricated and not working anymore?</p>