Eleven years ago I wrote about using the IFTTT service to create tweets from the RSS feed of my Pinboard shares (which are written for myself and for Emily; there are now over 49,000 entries).
Back then I was continuing a kind of sharing I started with Google Reader Social (details) and continued with App.net after Social died.
Now Twitter is dying, but, incredibly, Maciej Ceglowski's Pinboard endures. I've migrated to Mastodon (on an instance for veterans of App.net!) so now I use IFTTT (still free for my use) to create mastodon posts tagged #jgshare from that old Pinboard RSS.
I'm writing now to share a bit of how that works. I started with a recipe first published in 2017 and updated in 2022 by KelsonV. That recipe uses IFTTT web hooks: I tweaked it a bit to get the output I wanted:
The recipe is a bit hard to follow but the key steps are:
- In Mastodon Profile Preferences Development create an "application" with website "https://ifttt.com/" and Scope of write:statuses. After it's created copy the access token.
- In IFTTT create a rule based on the RSS feed of your source (in my case Pinboard shares with a particular tag). My rule starts with IF "New Feed Item"
- The action part of the rule is a web request"
- URL: https://appdot.net/api/v1/statuses
- Method: POST
- Content type: application/x-www-form-urlencoded
- Authorization: Bearer 1234567890 (replace 1234... with your Mastodon access token)
- Body as below.
Post a Comment