Success! I was able to tweak two Shortcuts that I use to publish to micro.blog and I’m so happy. I will document it here so I can come back to this in the future.

It’s all thanks to @jarrod, of course. In his wonderful Shortcut Library there’s many that I use daily. Most of all, one to Publish to Micro.blog and another one to Post Quotes from other webs.

But the thing is that they both publish to my default blog (https://umerez.eu), and I needed the same functionality to post in my new adventure, this very blog (https://estebantxo.micro.blog).

It was easy to fetch a new API key in micro.blog, but I needed something else to direct the posts to Estebantxo instead of umerez.eu.

I found the answer in this post from the official Micro.blog Help documents.

For users who have multiple microblogs configured, /micropub?q=config will return of the list of sites. You can post to a specific microblog by passing an mp-destination parameter of the URL (uid from the configured list).

Quite cryptic for me. Suddenly, I noticed that an action in @jarrod’s Shortcut (Get content from URL), which was set to POST, had a GET option too. So I made a Shortcut with that action to get my blogs and look for Estebantxo’s UID.

Screenshot of Shortcut to GET info from my blogs

I did get the desired uid and I put it in @jarrod’s Shortcut, under Headers, with a mp-destination key and the uidfor its corresponding value.

Screenshot of a Shortcut action

Et voilà. The Shortcut works like a charm. I posted this quote and cheered with happiness.