Skip to content

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

License

Notifications You must be signed in to change notification settings

luvi/botstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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