Favorites' Hub
Want Favorites's content in real-time?
Never miss an update with our PubSubHubbub Feed API.
- Send a
POST
request tohttps://digitaltvthaitvyoutube.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.