On Micro.blog it is possible to have more than one blogs under the same ID. The Actions directory has actions for posting to Micro.blog, but not for choosing which blog to post to if you do have more than one blog. I do not have the technical know how to even to write an action to do this, but I did wonder if it is something that is possible, or is it beyond Drafts’ capabilities.
If you have an action using Drafts’ credentials, you should be able to duplicate the action and change the modifier ID. Then when run it ill prompt you for an additional set of credentials to post with.
See the page on credentials for details about setting identifiers.
Thank for this, but I don’t think that it will work in this case. Because my two Micro.blog blogs are under the same account (read ID), they operate from the same Credential, from my understanding. So another way is needed to choose which blog to post to.
I logged into my Micro.blog account to look around, and it’s not at all clear how you would get a token specific to a blog. I only have one blog, so not sure I would be seeing the same thing. Probably worth asking over on the Micro.blog forum about the right way to get a Micropub token for a specific blog.
That said, once you do get the right token, if you are using this example action and want to use it for more than one different blog, it would require a minor modification to use a unique credential identifier for each blog you want to target…
// the "Micro.blog" in this line would have to be different
// in each copy of the action you want to target a different token
var credential = Credential.create("Micro.blog", "Insert Micro.blog app token generated on Micro.blog account page.");
Note the Send to Micro.blog example uses the Micro.blog app, which would, I presume, allow you to select which blog to use once it opens might also be an option.
I posted a question on the Micro.blog forum, and while looking around found this Help item which appears relevant, Posting API.
In that post is the following,
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).
It worked!! I got a couple of error messages, but they were a result of my syntactical errors in editing the action. I now have two separate actions to post to separate blogs under the same ID. Thank you again.