News for hackers. Stuff that matters.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Wednesday September 09, 2020 @10:58PM (#24428504)
My main use for IFTTT is that they accept incoming webhooks to send push notifications to my phone via their app.

Incredibly useful and convenient.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by CarelessExpert on Wednesday September 09, 2020 @11:42PM (#24428684)
If you can run a docker container and you have an Android phone, Gotify is a nice alternative for this use case.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @01:01AM (#24429042)
I have an iPhone so it's not really an option. That's a really interesting project that I'd definitely look into if I still had an Android phone.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by windexh8er on Wednesday September 09, 2020 @11:13PM (#24428571)
If that's your only use case - wouldn't Pushbullet (or something similar) be a more complete solution? Genuinely curious.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @12:59AM (#24429034)
Short answer is that yes, there are other options. But they're always vastly more complex and would require actual work to use. Why bother with all that when I can just issue a GET or POST to a simple HTTP endpoint (no auth/headers required) and have IFTTT fill in the title, message, link (if the notification is tapped), and image with the values in the uploaded JSON object? The IFTTT API is truly a joy to use as a someone trying to quickly hack something together using cURL.

Re Pushbullet specifically: it no longer supports iOS but either way, it's also much more complex [0] to use.

[0]: https://docs.pushbullet.com/#create-push

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by dahx4Eev on Wednesday September 09, 2020 @11:03PM (#24428526)
Any examples of how you use the webhooks?
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by kevindong on Thursday September 10, 2020 @01:11AM (#24429084)
It's literally just:

1. Here's a URL (custom to each user/applet). You can either GET or POST to it. No auth/headers required (the URL includes a token).

2. You can optionally submit a JSON in the format of {"value1": ..., "value2": ..., "value3": ...} and set up the applet to set those values as the notification title, body, link, or image.

Rather unfortunately, you can only specify three values in the JSON so you can only ever have three of those four properties filled in for a single notification. But you can set up multiple receiving URLs/applets such that you can send the first notification containing three of those properties and then a second notification containing the last property.

Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by m-p-3 on Friday September 11, 2020 @08:29AM (#24441965)
I hope we'll see more than three values as a possibility with IFTTT Pro.
Re:IFTTT introduces IFTTT Pro, free accounts now limited to ... by Namidairo on Wednesday September 09, 2020 @11:10PM (#24428558)
You basically just POST/GET url they provide with the json payload then hook it up to a notification service (whether that be their Android app, Telegram, etc.)

Came in handy when I needed to poll something on my end, which would trigger the webhook when it met certain conditions.