If you want to make a federated Twitter-side service, I think you should spend more than a couple of minutes on the design.
I scanned the "Pub Sub Hub Bub" spec, and as far as I can tell, it requires a publisher to store a key for each subscriber. When they post a new tweet, their home server needs to do a separate HTTP POST to each subscriber, HMAC-signed by the subscriber's key. The content (a few sentences at most) needs to be composed into an atom feed -- in XML! -- as if it were a blog post.
Imagine that mastodon grew to over a dozen servers, and BBC News joined, and only a few thousand users subscribed. Every time they post new cricket scores, a few thousand individual HTTP POSTs (signed separately) go out to the same dozen servers.
The HTTP POST has no fallback, so if it fails, I guess you just don't get the tweet?
Here's an alternative design, which I also only spent a couple of minutes on (though I admit I have the advantage of having built one of these before):