Coder Social home page Coder Social logo

Comments (6)

victorjzsun avatar victorjzsun commented on June 3, 2024

Can you try on a non-watchlist playlist?

from auto-youtube-subscription-playlist-2.

victorjzsun avatar victorjzsun commented on June 3, 2024

I also realized I didn't update the script to the newest version so I'd recommend making a copy of the Google Sheet again to get the latest version

from auto-youtube-subscription-playlist-2.

Nickske92 avatar Nickske92 commented on June 3, 2024

I also realized I didn't update the script to the newest version so I'd recommend making a copy of the Google Sheet again to get the latest version

Thanks for your fast reply! I tried it with the new updated script (I named it 2.0 in sheets), but I still got the same result, no video's added in the watch later playlist.
Then I tried the script on another playlist, but then I got the error message 403?

1
2
3
4
5

from auto-youtube-subscription-playlist-2.

victorjzsun avatar victorjzsun commented on June 3, 2024

Hm, so it says the script doesn't have access to the playlist. Are you sure you're using the same account for both Google Sheets and YouTube? There's currently no support for brand accounts. Also check that you spelled the playlist's ID correctly.

from auto-youtube-subscription-playlist-2.

victorjzsun avatar victorjzsun commented on June 3, 2024

If it looks right to you, can you try the following test:

  1. Within the sheet, open the script editor Tools -> Script Editor
  2. Paste the following line of code on any empty line: function test() {results=YouTube.Channels.list('snippet', {mine:true});Logger.log(results.items[0].id)}
  3. Save File -> Save
  4. Run the test Run -> Run function -> Test
  5. View log View -> Logs This should produce a timestamp and a channel id UC~~~~~~~~~
  6. Navigate to www.youtube.com/channel/<CHANNELID> replaced with the result from 5.
  7. This should be your channel and should list the playlist you're trying to add the videos to.

from auto-youtube-subscription-playlist-2.

Nickske92 avatar Nickske92 commented on June 3, 2024

Hm, so it says the script doesn't have access to the playlist. Are you sure you're using the same account for both Google Sheets and YouTube? There's currently no support for brand accounts. Also check that you spelled the playlist's ID correctly.

So that was the problem. I was using a Brand account. I tried the script with another normal google account and now everything works! Thanks!

from auto-youtube-subscription-playlist-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.