GithubHelp home page GithubHelp logo

I want to study it about spotify-readme HOT 12 OPEN

ToulthG avatar ToulthG commented on July 22, 2024
I want to study it

from spotify-readme.

Comments (12)

novatorem avatar novatorem commented on July 22, 2024

What about it do you want to study? It looks like you're simply using my profile's spotify.

Did you follow the setup instructions I posted?

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

您想学习什么?看来您只是在使用我的个人资料的spotify。

您是否遵循我发布的设置说明

Actually I am a beginner, if you want I can’t use the spotify of your profile right now, I can delete it immediately

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

What about it do you want to study? It looks like you're simply using my profile's spotify.

Did you follow the setup instructions I posted?

Where is Refresh Token?

from spotify-readme.

novatorem avatar novatorem commented on July 22, 2024

Hey, no worries. You can leave it as is while trying to set things up.

You need to use the refresh token in your vercel app to reauthenticate your spotify.
At what stage of the setup info are you stuck?

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

嘿,不用担心。您可以在尝试设置时保持原样。

您需要在Vercel应用程序中使用刷新令牌来重新认证Spotify。
您停留在设置信息的哪个阶段?

I only did the first step

Hey, no worries. You can leave it as is while trying to set things up.

You need to use the refresh token in your vercel app to reauthenticate your spotify.
At what stage of the setup info are you stuck?

I only did the first step

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

Hey, no worries. You can leave it as is while trying to set things up.

You need to use the refresh token in your vercel app to reauthenticate your spotify.
At what stage of the setup info are you stuck?

"You need to use the refresh token in your vercel app to reauthenticate your spotify." I opened it, but I don't know how to do it...

from spotify-readme.

novatorem avatar novatorem commented on July 22, 2024

I think for you it would be here:

https://vercel.com/toulgthg/toulgth-g/settings/environment-variables

Then I assume you got your Client ID, Secret, and Refresh token?
Don't paste them here, they should remain a secret to you and only you.

Also make sure you took the api folder and placed it in your ReadMe.

from spotify-readme.

novatorem avatar novatorem commented on July 22, 2024

So where there's {...}, you have to insert your variables. So {Spotify_Client_ID} is where you plug in your Client ID that you got from the dashboard. Also, you should delete your picture since it contains the variable.

Finally, Name is where Client ID, Client Secret, and Refresh Token go (but as defined in setup.md). Value is where the variables go.

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

So where there's {...}, you have to insert your variables. So {Spotify_Client_ID} is where you plug in your Client ID that you got from the dashboard. Also, you should delete your picture since it contains the variable.

Finally, Name is where Client ID, Client Secret, and Refresh Token go (but as defined in setup.md). Value is where the variables go.

Ok, wait for me to study slowly... (forgive me for being stupid) Thank you very much for your patience to answer me, I think I should learn enough knowledge before coming back (I am from China, I don’t understand some words when I see English ), I won’t waste your time anymore, thank you very much!

from spotify-readme.

ToulthG avatar ToulthG commented on July 22, 2024

So where there's {...}, you have to insert your variables. So {Spotify_Client_ID} is where you plug in your Client ID that you got from the dashboard. Also, you should delete your picture since it contains the variable.

Finally, Name is where Client ID, Client Secret, and Refresh Token go (but as defined in setup.md). Value is where the variables go.

谢谢您!

from spotify-readme.

novatorem avatar novatorem commented on July 22, 2024

No worries, might be hard when a lot of these don't translate well.

Good luck, leaving this open for now.

from spotify-readme.

ch374n avatar ch374n commented on July 22, 2024

Hi, @novatorem
Looks like it breaks while playing podcast
[GET] /api/spotify-playing 20:18:03:30 [ERROR] 2020-10-17T14:48:03.537Z b708d79d-60da-4a4d-a04c-c9df8b84bf0c Exception on /api/spotify-playing [GET] Traceback (most recent call last): File "/var/task/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/var/task/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/var/task/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/var/task/flask/_compat.py", line 39, in reraise raise value File "/var/task/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/var/task/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./api/spotify-playing.py", line 112, in catch_all svg = makeSVG(data) File "./api/spotify-playing.py", line 93, in makeSVG img = loadImageB64(item["album"]["images"][1]["url"]) TypeError: 'NoneType' object is not subscriptable

from spotify-readme.

Related Issues (4)

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.