Skip to content

lakshminarasimmanv/TwitterJokerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Joker Bot

About:

This is a Twitter Bot that Tweets Jokes. By default it only set to tweet coding jokes, but you can change it to anything.

To do that, you need to make changes to the jokes.go file. Refer JokeAPI Documentation.

Setup:

  1. Sign up for a Twitter Developer Account and Create an App.

  2. Make sure to setup Elevated Access to and enable Read and Write permissions.

  3. Required External Packages:

  4. To Install External Packages, run:

go get -u <Package Name>

Example:

go get -u github.com/dghubble/go-twitter/twitter

  1. Set your Twitter API Keys as Environment Variables.
export CONKEY=<Your Consumer Key>

export CONSEC=<Your Consumer Secret Key>

export ACTO=<Your Access Key>

export ACTOSEC=<Your Access Secret Key>
  1. To run the code, run:

go run .

Contribution:

We love to have your Contributions! Please read the CONTRIBUTING.md for more.

About

A Twitter Bot 🤖 that Tweets Tech Jokes.

Resources

Stars

Watchers

Forks

Languages