Using Data API youtube v2 (Error No longer available)

Asked

Viewed 61 times

0

Good afternoon,

I’m trying to solve a problem on a page, where the youtube API is used, to bring the videos from a certain channel. however, recently he started to make the mistake No longer available. I’m not sure which version of the API is being used, but probably the V2, maybe a solution would be to migrate to V3, however I do not know how to do, I have read some documents, but I did not succeed.

Someone’s been through it and can help me?

By the way, I’m using the script:

<script type="text/javascript">
    ytEmbed.init({
        'block':'youtubeDiv',
        'paging':false,
        'type':'user',
        'q':'Zenimotors',
        'results':'48',
        'display_first': true, 
        'order':'new_first'
    });
</script>

Thank you!

  • Is the channel id correct? Sometimes the channel no longer exists...

  • I’ve already made sure about the channel and it’s still active, in case it would be the "Zenimotors"

1 answer

0

Really the API V2 has already been discontinued, you can migrate to V3 using the Migration Guide theirs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.