IFTTT - Incoming Webhooks for Twitter, YouTube and Twitch
To help you get started with webhooks and IFTTT, we have put together some simple webhooks popular for many of our users.
Tip: if you find at any point your webhook isn't working head over to https://jsonformatter.curiousconcept.com and paste the code in, if any errors are found it will highlight them for you.
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 into IFTTT.
{ "embeds":[ { "author":{ "name":"Isabelle", "url":"https://twitter.com/animalcrossing", "icon_url":"https://pbs.twimg.com/profile_images/1279036986246885376/LFSffZL6_400x400.jpg" }, "title":"Latest from AC", "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 in 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 own choosing.
- You can copy this code to paste 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 in 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!