Skip to content

mathdroid/bot-cebong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glitch Twitter bot template

Tweetin'

This is a template for making fun Twitter bots with Glitch and the Twit node.js library. For a bit more advanced version of this starter project see twitterbot-advanced.

A quick tutorial

  1. Create a new Twitter account and a new Twitter app. (See how.)
  2. Update the .env file with your Twitter API key/secrets and change the BOT_ENDPOINT (it could just be random letters).
  3. Update server.js with some cool Twitter bot code. (Make sure your bot follows Twitter's rules and is overall not a jerk.)
  4. Set up a free service (cron-job.org, Uptime Robot, or a similar one) to wake up your bot every 25+ minutes and tweet. Use https://YOUR_PROJECT_NAME.glitch.me/BOT_ENDPOINT as a URL to which to send the HTTP request.

The included example tweets out "hello world 👋". Check out the Twit module documentation for more examples of what your bot can do.

You can find more tutorials and open source Twitter bots on Botwiki. Be sure to join Botmakers and submit your bot to Botwiki :-)

More starter projects

For more bot starter projects on Glitch, check out Botwiki on Glitch.

Support Botwiki/Botmakers

🙇

Powered by Glitch

\ ゜o゜)ノ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published