Skip to content

luvi/botstarter

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BotStarter

twitter-api

A starter project to help you quickly get started with building your own twitter bot. Built as part of a talk for GDG Devfest Caribbean 2021. See the full talk here: Build your bot

Donate

Uses Twitter API v2

Usage/Examples

You first need to create a Twitter developer account. Since the launch of Twitter API v2 you can get access quicker than before by using the Essential tier.

You will then need to create a .env.local file Define your Consumer Key, Consumer Secret, Access Token Key and Access Token Secret

You can get these after you create a project under Projects & Apps in the Twitter developer platform.

Verify that in Settings, App permissions are set to Read and Write.

To test your bot locally, run the following command.

npm run start-dev

After fleshing out the logic of your bot, deploy to your favourite provider!

Tech Stack

Server: Node, Express

πŸ”— Links

discord

twitter

linkedin

About

A starter project to help you build a twitter bot on Twitter API v2. Built for GDG Devfest Caribbean 2021

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published