Git Product home page Git Product logo

Comments (8)

offish avatar offish commented on August 23, 2024

You don't actually need to fill out "Scopes", just "Connect" and get your OAuth token.
You're not actually expected to fill out the client secret file, this is a file given to you by the Google Cloud Platform when you've created an OAuth 2.0 Client ID.
image

For the file that should look like this:
"{\"token\": \"example\", \"expiry\": null, \"_scopes\": null, \"_refresh_token\": \"example\", \"_id_token\": null, \"_token_uri\": \"https://oauth2.googleapis.com/token\", \"_client_id\": \"example.apps.googleusercontent.com\", \"_client_secret\": \"example\"}
I've actually forgot how to get it, but I will update the README when I've figured it out.
I will also add more information under Setup, as I've received multiple questions about this.

from twitchtube.

offish avatar offish commented on August 23, 2024

Go to Twitch Developer Console and set your redirect URL to https://twitchapps.com/tokengen/
Now you can connect and authorize with your Twitch account, and it should hopefully work.
(Deleted your comment as you leaked your Client ID in your first picture)

from twitchtube.

 avatar commented on August 23, 2024

Oh man god bless you. The second I saw your reply i felt super dumb. In the meantime I got my client secret from google aswell. The only entry thats missing in the file is redirect_uris. Do i need something special for it?

from twitchtube.

offish avatar offish commented on August 23, 2024

Try running it without, it might work.

from twitchtube.

 avatar commented on August 23, 2024

Im sorry for asking so much but the very last thing im missing is the refresh token inside the credentials.json and I really cant find where to get it.

from twitchtube.

offish avatar offish commented on August 23, 2024

I will try to figure out how I got it, can't remember at the moment.

from twitchtube.

 avatar commented on August 23, 2024

Alright hope you find something but still big thanks

from twitchtube.

offish avatar offish commented on August 23, 2024

Never mind I'm retarded. Delete the whole credentials folder with the file inside and just run it. It should create the folder and file automatically. Pushing some changes to README now so it will be easier to setup for others.

from twitchtube.

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.