PHP Demo application for YouTube Activity Feeds released
91 views
Skip to first unread message
Jochen Hartmann
unread,
Feb 25, 2009, 5:50:02 PM2/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to YouTube APIs Announcement Forum
In case you have missed our recent blog entry (http://
apiblog.youtube.com/2009/02/youtube-api-outgrows-shy- adolescence.html), YouTube has recently pushed out new activity feeds
that allow you to see what you and your friends have been up to on
YouTube.com.
It uses two new classes available in Zend Framework 1.7.5,
Zend_Gdata_YouTube_ActivityFeed (http://framework.zend.com/apidoc/core/ Zend_Gdata/YouTube/Zend_Gdata_YouTube_ActivityFeed.html) and
Zend_Gdata_YouTube_ActivityEntry (http://framework.zend.com/apidoc/ core/Zend_Gdata/YouTube/Zend_Gdata_YouTube_ActivityEntry.html).
To get user activity using the PHP client library, simply use the new
"getActivityForUser('foo')" method on the Zend_Gdata_YouTube object.
Activity for up to 20 users can be retrieved at a time. Friend
activity can be retrieved with the "getFriendActivityForCurrentUser()"
method.