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
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 received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to gdata-objec...@googlegroups.com.
To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.
Greg,Tried a few times. No luck!May be I am doing something wrong.If you want I can send across by test project.
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?