Playing with multiple account support for Share on Mastodon.
Right now, all posts (that are crossposted) get crossposted to one and the same account. (I.e., your WordPress install acts a Mastodon client, for a single account, and a single instance.)
Having different settings for each and every user is a whole lot trickier, though.
Like, you could have multiple users on one instance, and then more users on other instances. Ideally, you’d autoregister—this all happens in the background—as a client application only once per instance.
But how do you guarantee “old” instance details aren’t outdated, etc.? And do you then store them in a custom table? And so on.
(The current implementation isn’t necessarily great either, because if you were to somehow wipe your client details, WordPress would just re-register itself and be given a new client ID from the instance you entered.)
https://jan.boddez.net/notes/a094d3e0bf
#shareOnMastodon