microformats

Liminal Existence

Clouds in Iceland

Monday, March 28, 2011

Private Webhooks. Private Feeds.

This post is for people who want to be able to subscribe to private feeds, or people who want to be able to communicate from one site to another using webhooks. I've talked a number of times on the subject at various conferences, but haven't posted publicly about the approach.

Thankfully, it's simple. You can see the whole thing here, in this nice set of slides:

Or, you can look at this diagram that illustrates the protocol flow. Note that all the curl commands needed to make a secure, private connection are included in the diagram.

The goal is to allow crypto-less communication across sites while retaining a familiar user experience. This approach achieves that, I think. What do you think?

4 Comments:

Blogger Julien said...

Awesome to see this resurface :)

Monday, 28 March 2011 18:42:00 GMT+01:00  
Blogger Peter Stuifzand said...

Hi,

I have a question about the diagram. I'm interested in private subscriptions to feeds. Is this an example of a private subscribe? What will be returned when Alice GETs http://bobnews.com/atom.xml to find the 'rel=hub'? A full feed? Or just 'headers'? Otherwise this is not really private, right?

Peter

Friday, 1 April 2011 10:23:00 GMT+01:00  
OpenID markpasc said...

I expect the feed would contain only the public items (of which there may be none). Private feed content is pushed through PubSubHubbub only.

You might additionally show private entries the viewer is authorized to see if the client can authenticate in some other way, but that's not really particular to this technique for webhooks.

Friday, 1 April 2011 23:43:00 GMT+01:00  
Anonymous Como Comer Para Adelgazar said...

I have a ques­tion about the di­a­gram. I'm in­ter­est­ed in pri­vate sub­scrip­tions to feeds. Is this an ex­am­ple of a pri­vate sub­scribe? What will be re­turned when Alice GETs

Wednesday, 24 August 2011 19:28:00 GMT+01:00  

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home