1
Fork 0
mirror of https://github.com/RGBCube/TwitterDiscordWebhook synced 2026-01-13 08:31:00 +00:00
No description
Find a file
2022-02-21 11:52:16 -05:00
config init commit 2022-02-20 19:39:55 -05:00
main.js fixes to retweets 2022-02-21 11:52:16 -05:00
package-lock.json init commit 2022-02-20 19:39:55 -05:00
package.json init commit 2022-02-20 19:39:55 -05:00
readme.md init commit 2022-02-20 19:39:55 -05:00

Twitter -> Discord Webhook

Simple (enough) to configure into a discord webhook. Runs on Node.js

Setup

(Provided you already have node.js installed otherwise install it here)

Clone this project then configure in config/config.json then run to install all dependencies

npm install

Finally run this command to run the tool

node main.js

Config

{
    "webhook_url": "",
    "webhook_name": "",
    "webhook_avatar": "",
    "webhook_message": "",
    "api_key": "",
    "api_secret": "",
    "access_token": "",
    "acesss_secret": "",
    "user_id": ""
}
  • Webhook_url: The discord webhook url, for more information check out this page.
  • Webhook_name: The name of your webhook
  • Webhook_avatar: The avatar of your webhook
  • Webhook_message: The message before your Twitter link
  • api_key: Twitter API key, if you do not have a Twitter developer account then check out this page
  • api_secret: Twitter API secret, requires Twitter developer account
  • access_token: Twitter account access token, requires Twitter developer account
  • access_secret: Twitter account acesss secret, requires Twitter developer account
  • user_id: the user id for the Twitter account you want notifications from, to find a Twitter id use this tool

this took too long for what it is lol