David Edgar's website

I cannot for the life of me work out how, with the Mastodon API, a user can reply to a note on another Mastodon instance. I know you can, I have replies from the fediverse in my notifications, but the machanics? NFI.