textnow - create accounts

Posts 1–5 of 5 · Page 1 of 1
textnow - create accounts
is anyone able to write a nodejs script to create accounts on textnow using their API?

thanks!
There a exists an npm package for it?!
Code:
const textNow = require('textnow-api');
 
textNow.login(email, password).then(client => {
    console.log(`Logged in as ${client.username}`);
 
    textNow.fetchMessages(client.id, client.username).then(messages => {
        console.log(messages.map(message => `ID: ${message.id} | Message: ${message.message} | Sender: ${message.contact_value}`).join('\n'));
    });
});
Quote Originally Posted by MikeRohsoft View Post
There a exists an npm package for it?!
Code:
const textNow = require('textnow-api');
 
textNow.login(email, password).then(client => {
    console.log(`Logged in as ${client.username}`);
 
    textNow.fetchMessages(client.id, client.username).then(messages => {
        console.log(messages.map(message => `ID: ${message.id} | Message: ${message.message} | Sender: ${message.contact_value}`).join('\n'));
    });
});
Sadly that is just for checking messages, not for creating accounts
Quote Originally Posted by dznprograms View Post
Sadly that is just for checking messages, not for creating accounts
well the api doesn't provide to create accounts, which makes totally sense in my eyes.
you have to simulate what you have to do on the website too.
Why do you need more than one account?
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us