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 7849053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:24:43+00:00 2026-06-02T18:24:43+00:00

http://gdata.youtube.com/feeds/users/LadyGagaVEVO/uploads?alt=json&max-results=10&format=5 I would like to extract the video thumbnail and video link using PHP

  • 0

http://gdata.youtube.com/feeds/users/LadyGagaVEVO/uploads?alt=json&max-results=10&format=5

I would like to extract the video thumbnail and video link using PHP and JavaScript from the url above but I’m not sure how to do it, here is my attempt so far:

$json = 'http://gdata.youtube.com/feeds/users/LadyGagaVEVO/uploads?alt=json&max-results=10&format=5';
$data = json_decode($json);
print_r($data);
  • 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-02T18:24:44+00:00Added an answer on June 2, 2026 at 6:24 pm

    in PHP

      $tmp = file_get_contents('http://gdata.youtube.com/feeds/users/LadyGagaVEVO/uploads?alt=json&max-results=10&format=5/');
      $data = json_decode($tmp,true);
    

    in javascript with jquery

      $.get("http://gdata.youtube.com/feeds/users/LadyGagaVEVO/uploads?alt=json&max-results=10&format=5/", function(response) { 
           var data = $.parseJSON(response);
      });
    

    about the illegal character, depends on what counts as illegal in your case, just do some string validation as you traverse through the object for the thumbnail and video link you looking for.

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

Sidebar

Related Questions

var url = 'http://gdata.youtube.com/feeds/api/playlists/18508B7EDC293770?v=2&alt=json'; $.ajax({ url: url, cache: false, data: , type: GET, dataType:
I'm playing with YouTube API. Using the following URL: https://gdata.youtube.com/feeds/api/users/RayWilliamJohnson/uploads , how do I
Here is an example feed that I would like to parse: https://gdata.youtube.com/feeds/api/users/aniBOOM/subscriptions?v=2&alt=json You can
<script type= text/javascript> var url = http://gdata.youtube.com/feeds/api/videos/VA770wpLX-Q?v=2&amp;alt=json-in-script&amp;callback=; var title; var description; var viewcount; var
I need to fetch the playlist for specific username. [NSString stringWithFormat:@http://gdata.youtube.com/feeds/api/users/%@/playlists?alt=json&v=2&orderby=published&client=ytapi-youtube-profile,strUserName]; I use the
$(document).ready(function(){ $.ajax({ url: http://gdata.youtube.com/feeds/api/users/zdf/playlists?v=2 , type: GET, success: function(msg){ console.log(msg); } }); }); i
I have an xml feed, say: http://gdata.youtube.com/feeds/api/videos/-/bass/fishing/ I want to get the list of
I am trying to parse a youtube playlist field. The URL is: http://gdata.youtube.com/feeds/api/playlists/664AA68C6E6BA19B?v=2 I
Hey, well right now I'm parsing youtube's api demo url : http://gdata.youtube.com/feeds/api/videos/-/test?orderby=viewCount&start-index=1&max-results=50 i'm using
Link to playlist: http://www.youtube.com/playlist?list=PL89275CCCD333C8EE Should be RSS from playlist: http://gdata.youtube.com/feeds/api/playlists/PL89275CCCD333C8EE Says: Playlist Not Found

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.