Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6009573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:59:25+00:00 2026-05-23T01:59:25+00:00

According to the Google Youtube Java API if I want to delete a video,

  • 0

According to the Google Youtube Java API if I want to delete a video, first is to get the VideoEntry Object, then call it’s delete;

http://code.google.com/apis/youtube/2.0/developers_guide_java.html

Document says to retrieve a specific video entry:

//My own function returns me the service Obj, and it works!
YouTubeService service =  getYoutubeService(); 
String videoEntryUrl = "http://gdata.youtube.com/feeds/api/videos/MyVideoID";
VideoEntry videoEntry = service.getEntry(new URL(videoEntryUrl), VideoEntry.class);

But when I call delet, it gives me the exception

videoEntry.delete();

Any now, I have to get the feeds, then loop through the videoFeed.getEntries() List to find the VideoEntry has the same videoID as I passed in.

VideoFeed videoFeed = service.getFeed(new URL( "http://gdata.youtube.com/feed/api/users/My Account/uploads"), VideoFeed.class);

Why the VideoEntry Obj in videoFeed.getEntries() List can call delete() function but not the VideoEntry Obj returned by service.getEntry function ????

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:59:25+00:00Added an answer on May 23, 2026 at 1:59 am

    osdir.com/ml/youtube-api-gdata/2010-01/msg00122.html
    and there’s more on groups.jonzu.com/z_tag/delete/page/3

    imply the URL needs to be set to your account directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to google and some other sources (e.g., http://www.enterprisedt.com/publications/oracle/result_set.html ), if I want to
I'm optimizing my website according to Google's site optimization standards: http://code.google.com/speed/page-sp...mageDimensions For those who
I'm am building a google app engine java based website. I want to allow
According to this article Silverlight 2 Beta 2 supports the DataContractJsonSerializer object. But, when
According to Google search: since MySQL does not support full outer join, it could
First lets define a URL according to my requirements. The only protocols optionally allowed
According to Google Calculator (-13) % 64 is 51 . According to JavaScript, it
Anything I tried failed so far to get Firefox to underline some text. According
according to google maps i can plan a route that crosses over several waypoints.
According to this question (and many many google search results), when we're in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.