Sameek Mishra
Sameek Mishra

Reputation: 9404

How to get public video based on username

I am using url http://gdata.youtube.com/feeds/api/users/ford/uploads?alt=json&max-results=50

its giving me the video lists,but today I'm trying to get the list of videos, I received only https://youtube.com/devicesupport.

Please suggest,how i get public video feeds based on username from youtube?

Sameek

Upvotes: 1

Views: 158

Answers (1)

user3002851
user3002851

Reputation:

I was having the same problem. I finally figured out that it was because the Youtube V2 API has been depricated and you are now required to use the Youtube V3 API. I have no idea how to fix your problem as the V3 API requires a key to be generated and passed as an argument in the URL.

EDIT: Here's the URL that you need to use now https://www.googleapis.com/youtube/v3/channels?part=snippet&forUsername={YOUR_USERNAME}&key={YOUR_API_KEY} As you can see, it requires a key to be passed as an argument.

Upvotes: 1

Related Questions