Get video feeds using Youtube API v3 -


we have website displays our youtube video channels , favourite videos in our channel, etc. using youtube data api v2.0 fetch data.

for example:

https://gdata.youtube.com/feeds/api/users/" + userid + "/playlists?v=2&alt=json-in-script&orderby=" + orderfeedsby + "&callback=?

but these links return "networkerror: 410 gone". checked new youtube javascript api, didn't understand how migrate new api. please fix this.

this url return json video ids playlist: https://www.googleapis.com/youtube/v3/playlistitems?part=id&playlistid={playlist_id}&key={your_api_key}

you need api key console.developers.google.com , playlist id.

you can list of playlist ids channel url this:

https://www.googleapis.com/youtube/v3/playlists?part=id&channelid={channel_id}&key={your_api_key}

documentation @ developers.google.com/youtube/v3/docs/


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -