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

  • SEARCH
  • Home
  • 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 8335417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:40:19+00:00 2026-06-09T03:40:19+00:00

How to get the youtube videos in JSON formate for list in UITableView .

  • 0

How to get the youtube videos in JSON formate for list in UITableView. I need At a time 20 feeds to be listed and in show more button then next 20 results needed to display.

I am expecting the exact url to get the feeds in both case.

Now i am trying Url i give as example.

http://gdata.youtube.com/feeds/api/videos?start-index=11&max-results=20&v=2&alt=jsonc
http://gdata.youtube.com/feeds/api/videos?start-index=2&max-results=20&v=2&alt=jsonc

Thanks in Advance

  • 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-06-09T03:40:20+00:00Added an answer on June 9, 2026 at 3:40 am

    Below code parse YouTube JSON to table view.

    ss

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        UITableViewCell *cell = nil;
        if (indexPath.row < [[_JSON valueForKeyPath:@"data.items.title"] count]) {
            cell = [tableView dequeueReusableCellWithIdentifier:@"Cell"];
            cell.textLabel.text = 
            [[_JSON valueForKeyPath:@"data.items.title"] objectAtIndex:indexPath.row];
            cell.detailTextLabel.text =
            [[_JSON valueForKeyPath:@"data.items.description"] objectAtIndex:indexPath.row];
        }
        return cell;
    }
    

    The code to get JSON is below:

    - (IBAction)refresh:(id)sender {
        NSURL *url = [NSURL URLWithString:kStrJsonURL];
        NSURLRequest *request = [NSURLRequest requestWithURL:url];
        AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id getJSON) {
            _JSON = getJSON;
            NSLog(@"%@", _JSON);
            [self.tableView reloadData];
        } failure:nil];
        [operation start];        
    }
    

    You should read getting started about AFNetworking:

    https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking

    You can download sample project from GitHub and just run it:

    https://github.com/weed/p120805_YouTubeJsonParse

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

Sidebar

Related Questions

I need to get the subscriber count/list of a Youtube user, is there any
Sometimes I get this error when extracting youtube videos by json, here's an example:
I'm trying to get a list of YouTube videos in a category. This is
I have a string https://gdata.youtube.com/feeds/api/videos?q=4s-PbMuNooo I want to get string 4s-PbMuNooo. How do I
My real problem is that I need to get youtube videos to play from
I'm trying to launch embedded Youtube videos from a UIWebView, but get this error
I need to be able to directly download certain YouTube videos using PHP. Based
I want to play youtube videos in my application.I get this data from gdata.youtube.com
I'm trying to obtain a list of videos from Youtube to be displayed on
In my magento store I am trying to retrieve a list of youtube videos

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.