This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('dotenv').config(); | |
const { TwitterApi } = require('twitter-api-v2'); | |
const cron = require('node-cron'); | |
const client = new TwitterApi({ | |
appKey: "", | |
appSecret: "", | |
accessToken: "", | |
accessSecret: "", | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Basic implementation of an HTTP server in Go to learn and understand how it works. | |
What does it NOT do? | |
- improved error handling | |
- parse headers | |
- routing | |
- ...many more | |
*/ |