mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #394] util.prompt gives bad request #230
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#230
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 @NathanTech7713 on GitHub (Aug 26, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/394
hi there,
So I only recently grabbed this as part of a project I'm working on that wants to include spotify support.
I was playing with it in the terminal, and so did:
appid='my app id' # obviously I pasted my app id
secret='my secret'
scopes='some scopes that I got from the website'
url='my url'
I carried out the documented method, that is to call util.prompt(username, scope, id, secret, url)
And it successfully ran in my browser.
I even got it up to where it redirects to:
https://mydomain.mytldr/spotify.php?code=a_long_as_hell_code
Pasting the url into the input of th eterminal however, said bad request.
Is there something I'm missing? Am I only supposed to paste in the code? the code= bit? or
@NathanTech7713 commented on GitHub (Aug 30, 2019):
It is very important to enter your app secret correctly. If you don't, my issue will occur. Sorry for the bother. Mortified.