In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel.
- Go to https://ifttt.com/ and create an account (if you don't already have one).
-
Find the Discord channel in which you would like to send Tweets.
-
In the settings for that channel, find the Webhooks option and create a new webhook.
Note: Do NOT give this URL out to the public. Anyone can post messages to this channel using it, without even needing to be in the server. Keep it safe!
- You can name the webhook whatever you want, and give it any image; for this tutorial we override them later anyway. Keep track of the URL; we'll need it later.
- Click on you profile icon in the top right corner
- Click on
Create - Click on
This - Search for
Twitter - Click on the Twitter square
- Select a trigger like
New tweet by youorNew tweet by a specific user - Set the options for the selected trigger (depending on which you selected)
- Click on
That - Search for
Webhook - Select the Webhook square
- Select the
Make a web requestaction
- Paste your webhook URL in the URL box.
- Select
Postin method, andapplication/jsonin content type. - Paste the following snippet into the
Bodyfield and modify it to your liking. You should at least set theicon_url. (You can add other details like the post time, click theAdd ingredientbutton to see what is available)
{
"username":"@{{UserName}}",
"icon_url":"<url to image>",
"content":"{{LinkToTweet}}"
}Now what you have to do is just click Create Action. It will start to run immediately.




Same problem. Valid JSON, setup according to tutorial. But webhook does not perform the POST.