Skip to content

About

A simple bot for daily tweets

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterCronBot

Go

This is a very simple Twitter bot written in Go that can send tweets once a day at a given time. It takes 3 parameters: hour, minute and text.

First you have to set your app credentials in this environment variables:

  • CONSUMER_KEY
  • CONSUMER_SECRET
  • ACCESS_TOKEN
  • ACCESS_TOKEN_SECRET

(Visit https://developer.twitter.com/, apply and create an app with write permissions enabled.)

Then you can start it with go run . <hour>:<minute> "<text>" (or use a precompiled executable). It will run until you terminate it.

For Windows you can download the .exe and twitterbot.cmd into the same folder, change the .cmd for your needs and doubleclick it.

About

A simple bot for daily tweets

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址