Superfeedr Open PubSubHubbub's PubSubHubbub Hub (original) (raw)
The PubSubHubbub PuSH API allows Superfeedr Open PubSubHubbub to send real-time notifications to subscribers every time new content is published.
Ever wonder how your application can get real-time notifications every time feeds are updated?
Try the PubSubHubbub open protocol.
It's a simple protocol built on webhooks. These webhooks are provided by 3rd parties, known as hubs. This page is the hub for Superfeedr Open PubSubHubbub.
Want Superfeedr Open PubSubHubbub's content in real-time?
Never miss an update with our PubSubHubbub Feed API.
- Send a
POST
request tohttps://pubsubhubbub.superfeedr.com
, with the following parameters:hub.mode
:subscribe
orunsubscribe
hub.callback
: http://domain.tld/your/callbackhub.topic
: http//feed.you.want.to/subscribe/to
- If the hub returns
202
, the hub will then check your callback. If it returns anything else, something is wrong. Please check thebody
of hub's the response in order to find out what the issue is. - The hub will send a request to your callback URL, to verify your intent: your callback must respond with
200
and must echo thehub.challenge
sent by the hub. - Once you're subscribed, the hub will send a
POST
request with the feed's new entries in the body. This will happen every time new content is detected. - [Recommended]: Provide a
hub.secret
when subscribing and the hub will send signed notifications for increased security.
This hub supports and recommends the 0.4 spec (last to date), as well as version 0.3.