DEV Community

Discussion on: How to build and deploy a multifunctional Twitter bot

Collapse
 
vcoelho profile image
desempregado

So it runs locally? I'm not familiar with the JS stack, but to my understanding you run the script once and kept restarting the function when needed?

Collapse
 
spences10 profile image
Scott Spence

It's setInterval that triggers the functions. There's also the streams which triggers on Twitter events, like when someone follows you.