Bringing Twitter Tweets into Discord channels

So you have a Discord community and you would like to pull tweets into your channels. I have a Discord server for my Twitch community and I wanted my Tweets to show up in my announcements channel for folks that are not on Twitter. Also I have game specific channels I wanted to bring tweets into. For this tutorial I am just going to show you what I did to bring tweets into Discord using IFTTT which stands for If This Then That. First thing we are going to do is go to the Discord channel you want to bring tweets into, here we are using “#announcements”. Click on the settings cog by the channel name.

Select “Webhooks” on the left tab, then click on “Create Webhook”.

In the “EDIT WEBHOOK” dialog box, put whatever you would like under “NAME”, in the “CHANNEL” selection be sure it’s the channel you want the tweet to show up in. “WEBHOOK ICON” is an image that will show up in the post, I just used my Twitter profile pic. Then copy the “WEBHOOK URL” to notepad. We will use this later.

Now we will will use IFTTT to link Twitter to our Webhook. Visit http://ifttt.com and create an account. Now link your Twitter to the Twitter service. Now it is time to create your applet that will pass the tweet to Discord. Click on “Create”.

Click on “+this”

Click on the Twitter service (you should have already linked your Twitter to this service).

Now we want to choose a trigger. Click on “New Tweet by you” this tells IFTTT when to activate the Tweet.

Now click “Create trigger” If you want to include retweets or @replies just check those boxes.

You can now skip to click “+that”. If you want to use a Twitter account that is not yours. Click on “New tweet by a specific user”.

Now we will say which Twitter account we are grabbing Tweets from. Type in you Twitter account or whichever one you want.

Now click on “+that”.

Now we will choose “Webhooks” as our action service.

It’s the only thing we can select so click on “Make a web request”.

Here is where that URL we copied to notepad is useful, copy it in the URL field, then select “Post”.

Our Content Type is going to be “application/json”.

Now copy the code below into the “Body” field and be sure you change ”@markramsey tweeted” to whatever Twitter name you want. Then click on “Create action”

{ "username":"@markramsey tweeted", "content":"@{{UserName}} tweeted this at {{CreatedAt}}: {{LinkToTweet}}" }

Now you can name your Applet whatever you want. Now turn off the notifications. Hit “Finish” and you have created your IFTTT Applet.

Here is what the final product looks like for me in Discord.

If you want to use Twitter check out my tutorial.

Bringing Instagram photos into Discord channels

If this helped you please follow https://twitch.tv/markramsey and sub and bit me if you wish.

Published by Mark Ramsey ™

Writer. PS4 Gamer. Twitch Affiliate. 2-Time Stroke Enthusiast. OG Geek. Podcast Host. Startup Survivor. #OldTimeStreamers admin. twitch.tv/markramsey

8 thoughts on “Bringing Twitter Tweets into Discord channels

  1. I’m using New tweet by a specific user, but how do i exclude retweet and replies from the user? I only want the main content by the user

    Like

      1. { “username”:”@callofmyth tweeted”, “content”:”@{{UserName}} tweeted this at {{CreatedAt}}: {{LinkToTweet}}” }

        I googled and it seems can add -filter:nativeretweets and -filter:replies but I don’t know where to put in the command above. Please help

        Like

  2. I’m referring to “New tweet by a specific user” to exclude retweet and replies,

    Your first step is showing to exclude retweet and replies which is from my account, I was referring to exclude by a specific user. There is no option to uncheck.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: