mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1145] How spotipy have to be setted for deploying? #673
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mau5trakt on GitHub (Jul 13, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1145
Hello im using Spotipy to make something like last.fm (im running a script every 20 secs to see if all my users are playing music, then register it into a database)
when im in the local enviroment for some reason it ask me to sign up every so often, but now i've deployed and i see the script is trying to open a web browser in the terminal to log into the spotipy aplication. so, how i should work with it?
also i made a custom cache handling that in simple words save the cache token for every user into the database and then when the program that verifies if a user is playing a track ill ask for his tokens creds into the database.
@dieser-niko commented on GitHub (Jul 13, 2024):
There are several ways to approach this problem. I'd say the app.py example would be a good fit for your application. But if you're deploying frontend and backend separately, I'd recommend something like my spotipy-fastapi-oauth example.