PubSubHubbub for YouTube Activities Subscription

PubSubHubbub, for those not in the know, is a server-to-server protocol for notifying interested parties of events they're interested in. Google now made it possible to subscribe to three types of YouTube user events via PubSubHubbub: "video uploads, new subscriptions, and video favorites." The subscription requests need to be made on a per-user basis, so […]

Share online:

PubSubHubbub, for those not in the know, is a server-to-server protocol for notifying interested parties of events they're interested in. Google now made it possible to subscribe to three types of YouTube user events via PubSubHubbub: "video uploads, new subscriptions, and video favorites." The subscription requests need to be made on a per-user basis, so you'll only receive updates for specific users that you're interested in.

Your code can look for PubSubHubbub hub address in href attribute of the top-level <link rel="hub"> element in uploads, subscriptions, and favorites feeds. For e.g., the feed http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads?v=2 exposes the hub address in <link rel="hub" href="http://pubsubhubbub.appspot.com"/> element.

More details on PubSubHubbub can be found in specification document. If you'd like your server to receive YouTube user event updates via PubSubHubbub, this list of libraries is a good place to start.

[Source]

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.