IFTTT - Incoming Webhooks for Twitter, YouTube and Twitch
These examples are a guide to help you get started with webhooks and IFTTT. We have put together some simple webhooks popular with many of our users.
Tip: if you find your webhook isn't working at any point, head to https://jsonformatter.curiousconcept.com and paste the code into the box. If there are any errors are found, it will highlight them for you.
Important: Please note that due to recent changes with access to the Twitter API, the following webhook may not be currently functional. To ensure that you have the most up-to-date information, we recommend referring to IFTTT for the latest details on this issue. Thanks for your understanding!
Follow these steps for creating a webhook on IFTTT for Twitter.
- Add the username that you want to watch
- Add the webhook URL from the channel that you want it to post to your server.
- Next, change the fields highlighted in yellow.
- Grab the URL from Twitter
- Right-click the icon on Twitter and copy the link address
- Change the "title" to whatever you like.
- You can copy the code from here to paste it into IFTTT.
{ "embeds":[ { "author":{ "name":"CHANGE THIS", "url":"PASTE URL TO TWITTER PAGE", "icon_url":"RIGHT CLICK TWITTER URL- COPY LINK AND PASTE HERE" }, "title":"GIVE IT A TITLE", "url":"{{LinkToTweet}}", "description":"<<< {{Text}}>>>", "footer":{ "text":" {{CreatedAt}}" } } ] } |
- This is how it will display. The links in yellow are clickable and will take you to the Tweet.
YouTube
With IFTTT, you will need to link your YouTube account and be subscribed to a channel.
- Choose the subscription you want to follow.
- Add your webhook URL from the channel you want it to post to on your server.
- Change the fields highlighted below.
- Grab the URL from YouTube for the channel
- Right-click the icon and copy the image address
- Change the title to something of your choosing.
- You can copy this code to paste it directly into IFTTT.
{ "embeds":[ { "author":{ "name":"Asmongold", "url":"https://www.youtube.com/channel/UC3nPaf5MeeDTHA2JN7clidg", "icon_url":"https://yt3.ggpht.com/a/AATXAJwmf_4s3BlhM0GvdUI2Qvshc1nolQHGGVS_xfzS=s88-c-k-c0x00ffffff-no-rj" }, "title":"Latest from Asmongold TV", "url":" {{Url}}", "description":" {{Title}}", "footer":{ "text":" {{CreatedAt}}" } } ] } |
- This is how it will display. The yellow links are clickable!
Twitch
Announce who is going live on Twitch. Copy the steps below and copy the code. No other adjustments are required for this webhook!
- Choose Any channel from the list or a specific Streamer if you prefer
- Add your webhook URL from the channel you want it to post to on your server.
- You don't need to change anything in this step.
- You can copy this code to paste directly into IFTTT.
{ "content": "{{ChannelName}} went live on Twitch", "embeds": [{ "title": "{{ChannelUrl}}", "url": "{{ChannelUrl}}", "color": 6570404, "footer": { "text": "{{CreatedAt}}" }, "image": { "url": "{{StreamPreview}}" }, "author": { "name": "{{ChannelName}} is now streaming" }, "fields": [ { "name": "Playing", "value": "{{Game}}", "inline": true }, { "name": "Started at (streamer timezone)", "value": "{{CreatedAt}}", "inline": true } ] }] } |
- This is how it will display. The yellow links are clickable!