How do you schedule tweets in a bot using JavaScript’s setInterval() function? How do you trigger a tweet when a certain event occurs like a user is followed or a tweet is favorited?

All examples:

Twit package:

Twitter API documentation:

Twitter automation rules and best practices:


Next video:

Learn JavaScript basics:

Learn Processing basics:

More about data and APIs:

Help us caption & translate this video!