Note that there are some explanatory texts on larger screens.

plurals
  1. POYouTube API: How can I get the date/time in which a user marked video as favorite?
    text
    copied!<p>I'm accessing the feed of a user's favorite videos through the YouTube API. How can I get the date/time in which he marked each video as favorite?</p> <p><strong>Update:</strong></p> <p>Someone pointed out that the <a href="http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Favorite_Videos" rel="nofollow">YouTube API documentation</a> says that the "Published" date on a user's favorite feed will have the time in which the user marked the video as favorite. But that seems to be false.</p> <p>For example, check out this video entry:</p> <p><a href="http://gdata.youtube.com/feeds/api/videos/g2981r_MtHQ" rel="nofollow">http://gdata.youtube.com/feeds/api/videos/g2981r_MtHQ</a></p> <p>It has a "published" date of <code>2008-03-19T21:09:09.000Z</code>.</p> <p>Now let's see the same video in the favorite feed of some user:</p> <p><a href="http://gdata.youtube.com/feeds/api/users/KeepWatchingTheSkies/favorites" rel="nofollow">http://gdata.youtube.com/feeds/api/users/KeepWatchingTheSkies/favorites</a></p> <p>It has a "published" date of <code>2008-03-19T21:09:09.000Z</code>. Identical.</p> <p>Here is a different way to get the favorites feed:</p> <p><a href="http://gdata.youtube.com/feeds/base/users/KeepWatchingTheSkies/favorites" rel="nofollow">http://gdata.youtube.com/feeds/base/users/KeepWatchingTheSkies/favorites</a></p> <p>And still we have a "published" date of <code>2008-03-19T21:09:09.000Z</code>.</p> <p>Assuming the user was not quick enough to favorite the video on the same millisecond it was published, what's written in the YouTube documentation is probably wrong, and this is <em>not</em> the time in which the user marked the video as favorite.</p> <hr> <p>So my question is: How can I get the time at which a user marked a video as favorite?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload