diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Oct072010

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 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 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 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]

Share This Story, Choose Your Platform!