An avian carrier's blog' Hub
- Send an
POST request to http://rfc1149.superfeedr.com, with the following params :
hub.mode : subscribe or unsubscribe
hub.verify : sync or async
hub.callback : http://domain.tld/your/callback
hub.topic : http//feed.you.want.to/subscribe/to
- The hub will send a request to your callback url, to verify your intent : your callback must respond with
200 and must echo the hub.challenge provided by the hub.
- If the hub returns
204, you're subscribed!, If it returns 202, the hub will check the subscription later. If it returns anything else, something was wrong, you may want to check the body of hub's the response.
- When you're subscribed, as soon as the hub sees a new entry in a feed, it will send a
POST request with the feed's new entries in the body.
- [Optional]: you can also use Superfeedr's track to filter content on this hub matching a given keyword, a boolean expression, and even geo-filtering.