Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Accessing Recorded Date of a Youtube Video
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Somnath Banerjee  
View profile  
 More options Sep 17 2010, 1:52 am
From: Somnath Banerjee <sbanerjee2...@gmail.com>
Date: Thu, 16 Sep 2010 22:52:16 -0700
Local: Fri, Sep 17 2010 1:52 am
Subject: Accessing Recorded Date of a Youtube Video

Hello everyone,
I am trying to access the recorded date of a Youtube video.

I am using the following code segment:

GDataEntryYouTubeVideo *video = (GDataEntryYouTubeVideo *)entry;

NSString *videoURL = [[[video links] objectAtIndex: 0] href];

GDataYouTubeStatistics *stats = [video statistics];

GDataYouTubeRating *rating  = [video rating];

GDataDateTime *recordedDate = [video recordedDate];

Please note that the recordedDate either returns null or an incorrect date.

I have also tried publishedDate etc.  but no luck.

However, ratings (likes, dislikes), and stats(viewCount)  all return fine.

I must be doing something wrong.

Any help would be much appreciated.

Best regards, Somnath


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Sep 17 2010, 12:18 pm
From: Greg Robbins <grobb...@google.com>
Date: Fri, 17 Sep 2010 09:18:41 -0700
Local: Fri, Sep 17 2010 12:18 pm
Subject: Re: Accessing Recorded Date of a Youtube Video

Have you compared the yt:recorded element in the XML from http logs with the
value of the GDataDateTime response from the recordedDate method?

The presence or absence of the yt:recorded element is up to the YouTube API
server; it is only an Objective-C library issue if it is not being
translated properly to a GDataDateTime object.

http logging is described at

http://code.google.com/p/gdata-objectivec-client/wiki/GDataObjCIntrod...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile   Translate to Translated (View Original)
 More options Sep 17 2010, 8:56 pm
From: Greg Robbins <grobb...@google.com>
Date: Fri, 17 Sep 2010 17:56:07 -0700
Local: Fri, Sep 17 2010 8:56 pm
Subject: Re: Accessing Recorded Date of a Youtube Video

I have just checked in some changes to the top-of-trunk library sources that
should improve how date-only (no time) GDataDateTime objects are converted
to NSDates. They now are set to noon GMT, so the date should be correct for
any time zone.

Since yt:recorded is a date-only element, this may improve the date you see
in the video entry, for video entries where that element is returned by the
server.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Somnath Banerjee  
View profile  
 More options Sep 18 2010, 1:26 am
From: Somnath Banerjee <sbanerjee2...@gmail.com>
Date: Fri, 17 Sep 2010 22:26:06 -0700
Local: Sat, Sep 18 2010 1:26 am
Subject: Re: Accessing Recorded Date of a Youtube Video

Greg,
Tried a few times.  No luck!
May be I am doing something wrong.
If you want I can send across by test project.

best regards, Somnath


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Sep 18 2010, 2:16 am
From: Greg Robbins <grobb...@google.com>
Date: Fri, 17 Sep 2010 23:16:24 -0700
Local: Sat, Sep 18 2010 2:16 am
Subject: Re: Accessing Recorded Date of a Youtube Video

This sounds like a Twitter-specific issue; the OAuth client software is not
really involved while the sign-in page is being displayed.

Can you sign in with any other Twitter client applications that use OAuth?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Van Lenten  
View profile  
 More options Sep 18 2010, 7:04 pm
From: Thomas Van Lenten <thoma...@gmail.com>
Date: Sat, 18 Sep 2010 19:04:49 -0400
Local: Sat, Sep 18 2010 7:04 pm
Subject: Re: Accessing Recorded Date of a Youtube Video

On Sat, Sep 18, 2010 at 1:26 AM, Somnath Banerjee
<sbanerjee2...@gmail.com>wrote:

> Greg,
> Tried a few times.  No luck!
> May be I am doing something wrong.
> If you want I can send across by test project.

What's the problem, were you not able to turn on logging?  A log should help
us see what the problem is.

TVL


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Van Lenten  
View profile  
 More options Sep 18 2010, 7:05 pm
From: Thomas Van Lenten <thoma...@gmail.com>
Date: Sat, 18 Sep 2010 19:05:21 -0400
Local: Sat, Sep 18 2010 7:05 pm
Subject: Re: Accessing Recorded Date of a Youtube Video

On Sat, Sep 18, 2010 at 2:16 AM, Greg Robbins <grobb...@google.com> wrote:
> This sounds like a Twitter-specific issue; the OAuth client software is not
> really involved while the sign-in page is being displayed.

> Can you sign in with any other Twitter client applications that use OAuth?

I think you crossed threads in your inbox.  ;)

TVL


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »