Engineering and Developers Blog
What's happening with engineering and developers at YouTube
PubSubHubbub for YouTube Activities
Thursday, October 7, 2010
Update (February 2012)
: We're happy to report that PubSubHubbub functionality for YouTube feeds has been restored for the uploads, subscriptions, and favorites feed. When subscribing to a feed URL, be sure that the only URL parameter you include is v=2, e.g.
http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads?v=2
Update (November 2011)
: As mentioned below, PubSubHubbub for YouTube feeds is currently inactive. The engineering team is investigating options for restoring functionality; more info will be posted following those investigations.
Update (October 2011)
: Unfortunately, we no longer support subscribing to YouTube user events via PubSubHubbub. We suggest using the
Simple Update Protocol
as an alternative.
PubSubHubbub
, for those not in the know, is a server-to-server protocol for notifying interested parties of events they’re interested in. Notifications are pushed out to subscribers via HTTP
web hooks
, which offers efficiencies over polling-based solutions. With PubSubHubbub, your server finds out about events in near real-time, without having to determine the optimal polling interval or repeatedly fetch individual activity feeds that haven’t changed.
We’re happy to announce that it’s now 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 will only receive updates for specific users that you’re interested in.
Your code can look for our PubSubHubbub
hub
address in the
href
attribute of the top-level
<link rel='hub'>
element in uploads, subscriptions, and favorites feeds. For example, the feed
http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads?v=2
exposes the hub address in the
<link rel='hub' href='http://pubsubhubbub.appspot.com'/>
element.
More details on the PubSubHubbub can be found in the
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.
Cheers,
-Jeff Posnick, YouTube API Team, in conjunction with the PubSubHubbub Team
Powered By YouTube - Event Videos and Slides Online
Monday, July 21, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
All of the videos, slides, and other materials used during our first "Powered by YouTube" developer event are now online and available for mass consumption:
http://sites.google.com/site/poweredbyyoutube
We had ~100 developers come and hang out with us at YouTube HQ. It was a full day, with talks ranging from best practices to the history of scaling up YouTube infrastructure and, of course, cookies, lunch and t-shirts. There were also some good discussions in our
Office Hours lounge
. If you're interested, the one-sheet Code Labs we had for working with the Data APIs in JSON and PHP are also available
online
.
Thanks to everyone for coming out, learning about the APIs, and sharing your feedback and questions with us. Special thanks goes to
Slide
,
Qik
,
Animoto
,
Gaia Online
, and
Helio
for
speaking about their experiences
working with our APIs and even walking through some code snippets.
Also, as a bonus, here's a bunch of us (Jochen, Jeff, myself) with Steve Mesa, the top poster in our discussion forum :)
Registrations Open for "Powered By YouTube"
Thursday, June 12, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
Since
our big launch
back in March, we've held a few sessions here and there -- Google I/O and smaller hackathons, and it's been really fun meeting you guys in person. So we thought it was about time to have our own event here at the office in San Bruno (check out the video to see a bit of the office). This will be all YouTube APIs, all the time! The agenda is still being finalized, but we'll have "bigger picture" sessions as well as nitty gritty hacking time to get started and learn best practices. You'll have time to mingle with a diverse set of developers from different companies and the YouTube engineers and product managers.
If you're interested, here are all the details:
Thursday,
July 10
, 2008
10:30am - 5:00pm (tentative)
YouTube HQ
@ 901 Cherry Ave. San Bruno, CA 94066
Cost:
Free
Reserve your spot and register here:
http://www.youtube.com/poweredbyyoutube
Already have questions, comments, or session suggestions? Let us know in the
forum
. Hope to see you here next month!
Google I/O Wrapup
Wednesday, June 4, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
Last week, the team spent an exciting couple of days at
Google I/O
. We all had a lot of fun, gave a few sessions, met a ton of people, and had good questions and discussions with developers. The best part was hanging out at the booth, talking to people one-on-one, seeing their projects, and hearing about other cool YouTube sites that are out there. For example,
Michael Geary
wrote
AnnoTube
, a
jQuery
plugin that uses the
JavaScript Player API
to synchronize related web pages or HTML to the video.
In a discussion about mobile, a developer pointed us to a
QR code generator
for YouTube videos. This site generates an image that, if you have the right software installed on your phone, will link you directly to the video URL if you take a picture of it on your phone.
If you're interested in the YouTube sessions, you can find the the videos and slides
here
. Specifically, John's
Data API overview
, and Geoff's
player APIs
session are available.
Since the codelab (about using the APIs with
App Engine
) wasn't filmed, you can find all the materials below.
The code project where all the materials live:
http://code.google.com/p/hello-youtube
The wiki that goes through the exercises during the session:
http://code.google.com/p/hello-youtube/wiki/Codelab
You can check all the code out from SVN, or just download the zip files. We also posted our slides and the standalone extensions to the client library as well:
http://code.google.com/p/hello-youtube/downloads/list
We also took some videos (of course) and photos from the booth. Below is a playlist with some of us at the booth:
The album with pics from the booth and some of the sessions:
We feel like I/O was a great success, so thanks to everyone who came out to the sessions, talked to us at the booth, and shared your enthusiasm about YouTube with us. It's always great to meet you guys in person! If you couldn't make it this year, check out one of the free
Google Developer Days
that are being held around the world later this year.
Visit the Team at Google I/O
Thursday, May 22, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
The week has been a little hectic since much of the team is busy prepping for
Google I/O
, which is less than a week away! If you're going, be sure to check out one (or three) of the YouTube sessions:
YouTube on Your Site:
John Harding will give a full overview of the YouTube Data API and what it can do.
Design Your Own YouTube Player:
Geoff Stearns will show you how to use the YouTube player APIs to build custom controls for videos on your site.
Hands-on YouTube: Creating Applications with the YouTube Data APIs and App Engine:
Jochen Hartmann and I will lead a Code Lab on how to use the Python Client Library to quickly launch applications with App Engine.
If you're already a pro, just drop by and say hi to the team at the YouTube booth. :) There will be many other sessions too, of course. The final list is of over 80 in-depth, technical
sessions
focused on building the next generation of web apps.
If you're interested, but haven't gotten your tickets, it's not too late to
register
. Hope to see you there!
Labels
.net
360
acceleration
access control
accessibility
actionscript
activities
activity
android
announcements
apis
app engine
appengine
apps script
as2
as3
atom
authentication
authorization
authsub
best practices
blackops
bootcamp
captions
categories
channels
charts
chrome
chromeless
client library
clientlibraries
clientlogin
code
color
comments
compositing
create
curation
custom player
decommission
default
deprecation
devs
direct
discovery
docs
Documentation RSS
dotnet
education
embed
embedding
events
extension
feeds
flash
format
friendactivity
friends
fun
gears
google developers live
google group
googlegamedev
googleio
html5
https
iframe
insight
io12
io2011
ios
iphone
irc
issue tracker
java
javascript
json
json-c
jsonc
knight
legacy
Live Streaming API
LiveBroadcasts API
logo
machine learning
mashups
media:keywords keywords tags metadata
metadata
mobile
mozilla
NAB 2016
news
oauth
oauth2
office hours
open source
partial
partial response
partial update
partners
patch
php
player
playlists
policy
previews
pubsubhubbub
push
python
quota
rails
releases
rendering
reports
responses
resumable
ruby
samples
sandbox
shortform
ssl https certificate staging stage
stack overflow
stage video
staging
standard feeds
storify
storyful
subscription
sup
Super Chat API
survey
tdd
theme
tos
tutorials
updates
uploads
v2
v3
video
video files
video transcoding
virtual reality
voting
VR
watch history
watchlater
webvtt
youtube
youtube api
YouTube Data API
youtube developers live
youtube direct
YouTube live
YouTube Reporting API
ytd
Archive
2017
Mar
Jan
2016
Nov
Oct
Aug
May
Apr
2015
Dec
Nov
Oct
May
Apr
Mar
Jan
2014
Oct
Sep
Aug
May
Mar
2013
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2012
Dec
Nov
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2007
Dec
Nov
Aug
Jun
May
Feed
YouTube
on
Follow @youtubedev