1
Fork 0
mirror of https://github.com/RGBCube/TwitterDiscordWebhook synced 2026-01-13 08:31:00 +00:00
No description
Find a file
2023-01-15 20:12:54 +03:00
config.json Remove undeeded nesting & use 2 space indents for json 2023-01-15 19:56:59 +03:00
LICENSE Create LICENSE 2022-04-24 23:53:15 -04:00
main.js fixes to only support tweets, and for uptime 2022-04-24 23:48:38 -04: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 Make readme better 2023-01-15 20:12:54 +03:00

Twitter -> Discord Webhook

Simple (enough) to configure Twitter -> Discord webhook. Runs on Node.js

Setup

Clone This Project & Cd Into It

You will need git installed to do this!

git clone https://github.com/Stovven/discord-twitter-webhook
cd discord-twitter-webhook

Configure

Edit the config.json with the given information below:

  • webhook_url: The Discord webhook url, for more information check out this page.
  • webhook_name: The username of your Discord webhook.
  • webhook_avatar: The avatar of your Discord webhook.
  • webhook_message: The message before your Twitter link. Formatted as {message} {tweet_link}, no newline added.
  • api_key: The Twitter API key, if you do not have a Twitter developer account then check out this page.
  • api_secret: The Twitter API secret, requires a Twitter developer account.
  • access_token: The Twitter account access token, requires a Twitter developer account.
  • access_secret: The Twitter account acesss secret, requires a Twitter developer account.
  • user_id: The user ID for the Twitter account you want notifications from, to find a Twitter id use this tool.

Install Dependencies

You will need Node.js installed to do this and the next section! If you don't have it installed, you can install it from here.

npm install

Run

node main.js

this took too long for what it is lol